|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-05-22 06:31 UTC] reeze dot xia at gmail dot com
[2015-01-13 16:44 UTC] danack@php.net
-Status: Open
+Status: Feedback
[2015-01-13 16:44 UTC] danack@php.net
[2015-01-25 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 01:00:01 2025 UTC |
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 )