|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesalias-reflection.patch (last revision 2014-09-26 05:22 UTC by remi@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-09-25 07:49 UTC] pear at laurent-laville dot org
[2014-09-25 09:15 UTC] remi@php.net
[2014-09-26 05:22 UTC] remi@php.net
[2014-09-26 05:38 UTC] remi@php.net
-Operating System: Windows
+Operating System: irrevelant
[2014-09-26 05:38 UTC] remi@php.net
[2014-09-26 06:36 UTC] pear at laurent-laville dot org
[2014-09-26 06:50 UTC] remi@php.net
-Status: Open
+Status: Duplicate
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 20:00:02 2025 UTC |
Description: ------------ On Windows platform, I've noticed, but it seems to be older than just the recent release 2.0.9 ( 2.0.8 is also affected ), that : The class Threaded appear twice on reflection ( all API ). Test script: --------------- In CLI mode : php --re pthreads In other API : <?php $extension = new \ReflectionExtension('pthreads'); $classes = $extension->getClassNames(); print_r($classes); ?> Expected result: ---------------- Only once description of Class [ <internal:pthreads> <iterateable> class Threaded implements Traversable, Countable ] { } Actual result: -------------- Two same copy are visible in CLI mode. In other API, you got Array ( [0] => Threaded [1] => Threaded [2] => Thread [3] => Worker [4] => Mutex [5] => Cond [6] => Collectable [7] => Pool )