php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41477 ReflectionParameter getName returns null
Submitted: 2007-05-23 17:07 UTC Modified: 2007-05-27 17:46 UTC
From: proofek at gmail dot com Assigned:
Status: Closed Package: Class/Object related
PHP Version: 5.2.2 OS: Linux (Debian)
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: proofek at gmail dot com
New email:
PHP Version: OS:

 

 [2007-05-23 17:07 UTC] proofek at gmail dot com
Description:
------------
ReflectionParameter getName returns null for SoapClient object.

Happend on 5.2.0 too.

Reproduce code:
---------------
$objRfClass = new ReflectionClass('SoapClient');
$objRfMethod = $objRfClass->getMethod('__soapCall');
$arrParams = $objRfMethod->getParameters();
foreach($arrParams as $objRfParam)
{
        var_dump($objRfParam->getName());
}



Expected result:
----------------
Param names?

Actual result:
--------------
NULL
NULL
NULL
NULL
NULL

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-27 17:46 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 07:01:32 2024 UTC