Edit report at https://bugs.php.net/bug.php?id=62303&edit=1
ID: 62303
Updated by: php-bugs@lists.php.net
Reported by: v at roxori dot com
Summary: ReflectionClass, getMethods(), getName() empty
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Reflection related
Operating System: FreeBSD9
PHP Version: 5.4.3
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-07-26 06:44:53] aharvey@php.net
Does it still happen if you remove APC?
------------------------------------------------------------------------
[2012-07-26 06:33:08] v at roxori dot com
Another remarked that in cgi mode, it happens.
#php info.php
ReflectionMethod Object
(
[name] => first
[class] => Foo
)
ReflectionMethod Object
(
[name] => second
[class] => Foo
)
#php-cgi info.php
X-Powered-By: PHP/5.4.3
Content-type: text / html
ReflectionMethod Object
(
[namei ⤠â
] => First
[class] => Foo
)
ReflectionMethod Object
(
[namei ⤠â
] => Second
[class] => Foo
)
---------------------
apc.so
bz2.so
core.so
ctype.so
curl.so
date.so
dom.so
ereg.so
filter.so
gd.so
hash.so
iconv.so
json.so
libxml.so
mbstring.so
mcrypt.so
mhash.so
mysql.so
mysqli.so
mysqlnd.so
openssl.so
pcre.so
pdo.so
pdo_mysql.so
pdo_sqlite.so
phar.so
posix.so
reflection.so
session.so
simplexml.so
soap.so
sockets.so
spl.so
sqlite.so
sqlite3.so
standard.so
tokenizer.so
xml.so
xmlreader.so
xmlrpc.so
xmlwriter.so
zip.so
zlib.so
------------------------------------------------------------------------
[2012-07-26 01:38:23] aharvey@php.net
I also can't reproduce this. What extensions do you have loaded into PHP?
------------------------------------------------------------------------
[2012-07-25 12:29:00] fa@php.net
Cannot reproduce.
$ php -v
PHP 5.4.4 (cli) (built: Jun 28 2012 15:38:36)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
php testp.php
first
second
FreeBSD host.example.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30
UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
------------------------------------------------------------------------
[2012-06-13 08:06:38] v at roxori dot com
Another found that the index broken array, so that probably does not display a
value.
PHP5.4.3 FreeBSD9
ReflectionMethod Object
(
[nameiÂÒ] => first
[class] => Foo
)
ReflectionMethod Object
(
[nameiÂÒ] => second
[class] => Foo
)
PHP5.4.3 Linux
ReflectionMethod Object
(
[name] => first
[class] => Foo
)
ReflectionMethod Object
(
[name] => second
[class] => Foo
)
------------------------------------------------------------------------
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=62303--
Edit this bug report at https://bugs.php.net/bug.php?id=62303&edit=1