Bug #51646 [Opn->Bgs]: ReflectionClass didn't show $length property from DOMNodeList
| From: | rrichards@php.net | Date: | Fri, 23 Apr 2010 13:48:41 +0000 |
| Subject: | Bug #51646 [Opn->Bgs]: ReflectionClass didn't show $length property from DOMNodeList | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149817@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51646&edit=1
ID: 51646
Updated by: rrichards@php.net
Reported by: oleg at elifantiev dot ru
Summary: ReflectionClass didn't show $length property from
DOMNodeList
-Status: Open
+Status: Bogus
Type: Bug
Package: Class/Object related
PHP Version: 5.2.13
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
duplicate of bug #48527
Previous Comments:
------------------------------------------------------------------------
[2010-04-23 14:56:09] oleg at elifantiev dot ru
Description:
------------
Reflection didn't show all information on some php-internal classes
(i.e. DOMNodeList).
It hides some properties (i.e. DOMNodeList::$lenght)
Test script:
---------------
<?
$dt = new ReflectionClass("DOMNodeList");
echo $dt;
?>
Expected result:
----------------
Class [ <internal:dom> <iterateable> class DOMNodeList ] {
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
// want to see $length property here
}
- Methods [1] {
Method [ <internal:dom> public method item ] {
- Parameters [1] {
Parameter #0 [ <required> $index ]
}
}
}
}
Actual result:
--------------
Class [ <internal:dom> <iterateable> class DOMNodeList ] {
- Constants [0] {
}
- Static properties [0] {
}
- Static methods [0] {
}
- Properties [0] {
}
- Methods [1] {
Method [ <internal:dom> public method item ] {
- Parameters [1] {
Parameter #0 [ <required> $index ]
}
}
}
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51646&edit=1