diff options
author | Remi Collet <remi@php.net> | 2014-09-26 08:56:42 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-09-26 08:56:42 +0200 |
commit | efa7f87de4d16bd8a8e1292b5c7431912d41f7a6 (patch) | |
tree | 60991d492fe6a8377eec9ecc3cf372def85c438d /sapi/phpdbg/phpdbg_eol.c | |
parent | 7958793342783a67f2ebbb2db1abf01474d3c1f4 (diff) | |
download | php-git-efa7f87de4d16bd8a8e1292b5c7431912d41f7a6.tar.gz |
Fixed bug #68103 Dupplicate entry in Reflection
$ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());'
Array
(
[0] => Threaded
[1] => stackable
[2] => Thread
[3] => Worker
[4] => Mutex
[5] => Cond
[6] => Collectable
[7] => Pool
)
In getClasses() output, it is possible to compare key (ex "stackable")
with $obj->name (ex "Threaded") to detect class alias.
...
[Threaded] => ReflectionClass Object
(
[name] => Threaded
)
[stackable] => ReflectionClass Object
(
[name] => Threaded
)
...
Diffstat (limited to 'sapi/phpdbg/phpdbg_eol.c')
0 files changed, 0 insertions, 0 deletions