Bug #63256 [Opn]: ReflectionProperty::getName() returns false
| From: | reeze@php.net | Date: | Thu, 11 Oct 2012 10:02:23 +0000 |
| Subject: | Bug #63256 [Opn]: ReflectionProperty::getName() returns false | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-174014@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63256&edit=1
ID: 63256
Updated by: reeze@php.net
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:
Are the test script the same as yours ?
any more information?
see http://3v4l.org/Z9T8Q
no version of PHP returns false.
Previous Comments:
------------------------------------------------------------------------
[2012-10-11 05:29:05] asynchronio at gmail dot com
Note: this looks fixed in 5.4.7 version (bug report is related to 5.4.6)
------------------------------------------------------------------------
[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] laruence@php.net
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) }
------------------------------------------------------------------------
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