Bug #62366 [Fbk->NoF]: Reflection problem
| From: | php-bugs at lists dot php dot net | Date: | Sun, 17 Feb 2013 23:06:37 +0000 |
| Subject: | Bug #62366 [Fbk->NoF]: Reflection problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-176693@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62366&edit=1
ID: 62366
Updated by: php-bugs@lists.php.net
Reported by: alejosimon at gmail dot com
Summary: Reflection problem
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Reflection related
Operating System: Win7 x64
PHP Version: 5.4.4
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2012-06-20 17:02:00] alejosimon at gmail dot com
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.
------------------------------------------------------------------------
[2012-06-20 00:09:13] felipe@php.net
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