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
 [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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

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: Sat Apr 20 05:01:27 2024 UTC