#41477 [Opn->Csd]: ReflectionParameter getName returns null
ID: 41477
Updated by: iliaa@php.net
Reported By: proofek at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Class/Object related
Operating System: Linux (Debian)
PHP Version: 5.2.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-05-23 17:07:42] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41477&edit=1
Thread (2 messages)