Bug #62103 [Fbk->NoF]: get_declared_classes and get_declared_interfaces and get_defined_functions bug!
| From: | php-bugs at lists dot php dot net | Date: | Sun, 25 Jan 2015 04:22:17 +0000 |
| Subject: | Bug #62103 [Fbk->NoF]: get_declared_classes and get_declared_interfaces and get_defined_functions bug! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190200@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62103&edit=1
ID: 62103
Updated by: php-bugs@lists.php.net
Reported by: yyb8 at vip dot qq dot com
Summary: get_declared_classes and get_declared_interfaces and
get_defined_functions bug!
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: windows 2003
PHP Version: 5.3.13
Private report: N
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 "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2015-01-13 16:44:22] danack@php.net
I can't reproduce this on either OSX or Centos.
If you think this is still an issue in a supported version of PHP, please can you make sure that you
have no zend_extensions loaded and retry.
------------------------------------------------------------------------
[2012-05-22 06:31:23] reeze dot xia at gmail dot com
I can't reproduce it in MacOS.
------------------------------------------------------------------------
[2012-05-22 04:09:39] yyb8 at vip dot qq dot com
Description:
------------
get_declared_classes() and get_declared_interfaces() print every item twice!!!
at windows 2003 and iis fastcgi!
and get_defined_functions() is print every item twice too with unreadable codes(error code).
Test script:
---------------
$f = get_defined_functions();
echo '<pre>';
print_r($f['internal']);
print_r(get_declared_classes());
print_r(get_declared_interfaces());
Expected result:
----------------
Array
(
[0] => Traversable
[1] => IteratorAggregate
[2] => Iterator
[3] => ArrayAccess
[4] => Serializable
[5] => RecursiveIterator
[6] => OuterIterator
[7] => Countable
[8] => SeekableIterator
[9] => SplObserver
[10] => SplSubject
[11] => Reflector
)
Actual result:
--------------
Array
(
[0] => Traversable
[1] => IteratorAggregate
[2] => Iterator
[3] => ArrayAccess
[4] => Serializable
[5] => RecursiveIterator
[6] => OuterIterator
[7] => Countable
[8] => SeekableIterator
[9] => SplObserver
[10] => SplSubject
[11] => Reflector
[12] => Reflector
[13] => SplSubject
[14] => SplObserver
[15] => SeekableIterator
[16] => Countable
[17] => OuterIterator
[18] => RecursiveIterator
[19] => Serializable
[20] => ArrayAccess
[21] => Iterator
[22] => IteratorAggregate
[23] => Traversable
)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62103&edit=1