Bug #75461 [Opn->Csd]: Wrong reflection on SoapServer:setClass

From: Date: Mon, 30 Oct 2017 14:11:32 +0000
Subject: Bug #75461 [Opn->Csd]: Wrong reflection on SoapServer:setClass
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212377@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75461&edit=1 ID: 75461 Updated by: krakjoe@php.net Reported by: fabien dot villepinte at gmail dot com Summary: Wrong reflection on SoapServer:setClass -Status: Open +Status: Closed Type: Bug Package: SOAP related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2017-10-30 11:49:27] 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) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75461&edit=1

« previous php.bugs (#212377) next »