Edit report at https://bugs.php.net/bug.php?id=62366&edit=1
ID: 62366 Comment by: alejosimon at gmail dot com Reported by: alejosimon at gmail dot com Summary: Reflection problem Status: Feedback Type: Bug Package: Reflection related Operating System: Win7 x64 PHP Version: 5.4.4 Block user comment: N Private report: N New Comment: Yes!! I'm sorry, this bug is from the APC extension. Without APC everything works perfect. I´m use APC 3.1.9 and .10 Thanks for your time. Previous Comments: ------------------------------------------------------------------------ [2012-06-20 00:09:13] [email protected] I can't reproduce it. Are you using any external extension? ------------------------------------------------------------------------ [2012-06-19 22:29:39] alejosimon at gmail dot com Description: ------------ The some methods of reflection class don´t return the correctly values. Test script: --------------- <?php $object = new \stdClass ; $ref = new \ReflectionClass( $object ) ; var_dump( $ref->getName() ) ; var_dump( $ref->name ) ; print_r( $ref ) ; var_dump( $ref ) ; ?> Expected result: ---------------- string(8) "stdClass" string(8) "stdClass" ReflectionClass Object ( [name] => stdClass ) object(ReflectionClass)#37 (1) { ["name"]=> string(8) "stdClass" } Actual result: -------------- bool(false) string(8) "stdClass" ReflectionClass Object ( [namei��] => stdClass ) object(ReflectionClass)#37 (1) { ["name"]=> string(8) "stdClass" } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=62366&edit=1
