Edit report at https://bugs.php.net/bug.php?id=63256&edit=1
ID: 63256
Comment by: asynchronio at gmail dot com
Reported by: asynchronio at gmail dot com
Summary: ReflectionProperty::getName() returns false
Status: Open
Type: Bug
Package: Reflection related
Operating System: Windows 7 (x64)
PHP Version: 5.4.7
Block user comment: N
Private report: N
New Comment:
Note: this looks fixed in 5.4.7 version (bug report is related to 5.4.6)
Previous Comments:
------------------------------------------------------------------------
[2012-10-11 04:50:11] asynchronio at gmail dot com
Hm, interesting thing - i've found this example working fine via "php -e
<test.php>", but it's not working via builtin web-server ("php -S
localhost:8000"
and then requesting script via browser)
------------------------------------------------------------------------
[2012-10-11 03:20:32] [email protected]
I can not reproduce this with 5.3/5.4, neither linux nor windows.
------------------------------------------------------------------------
[2012-10-11 02:51:11] asynchronio at gmail dot com
Test script outputs expected result in older versions, tested on 5.2.5 and
5.3.17
------------------------------------------------------------------------
[2012-10-11 02:41:01] asynchronio at gmail dot com
Sorry, invalid data posted in Expected / Actual results
I've meant:
Expected result:
----------------
array(2) { [0]=> string(3) "foo" [1]=> string(3) "bar" }
Actual result:
--------------
array(2) { [0]=> bool(false) [1]=> bool(false) }
------------------------------------------------------------------------
[2012-10-11 02:19:24] [email protected]
I am not sure what's the problem is?
did you mean getValue?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63256
--
Edit this bug report at https://bugs.php.net/bug.php?id=63256&edit=1