|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-04-23 15:48 UTC] rrichards@php.net
-Status: Open
+Status: Bogus
[2010-04-23 15:48 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
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 ] } } } }