Edit report at http://bugs.php.net/bug.php?id=51646&edit=1

 ID:          51646
 Updated by:  rricha...@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

Reply via email to