php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75461 Wrong reflection on SoapServer:setClass
Submitted: 2017-10-30 11:49 UTC Modified: -
From: fabien dot villepinte at gmail dot com Assigned:
Status: Closed Package: SOAP related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fabien dot villepinte at gmail dot com
New email:
PHP Version: OS:

 

 [2017-10-30 11:49 UTC] fabien dot villepinte at gmail dot com
Description:
------------
SoapServer:setClass is variadic but ReflectionMethod::isVariadic returns false for this method.

http://php.net/manual/en/soapserver.setclass.php

Test script:
---------------
<?php
$rm = new ReflectionMethod('SoapServer', 'setClass');
var_dump($rm->isVariadic());
var_dump($rm->getParameters()[1]->isVariadic());

Expected result:
----------------
bool(true)
bool(true)

Actual result:
--------------
bool(false)
bool(false)

Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-30 14:11 UTC] krakjoe@php.net
Automatic comment on behalf of fabien.villepinte@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=97ff1c9243bf2d65a9d8baf35033c5a41779fb2c
Log: Fix bug #75461 Wrong reflection on SoapServer:setClass
 [2017-10-30 14:11 UTC] krakjoe@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 10:01:28 2024 UTC