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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Fri May 10 04:01:31 2024 UTC