php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #62343
Patch bug62343.phpt revision 2012-06-22 09:29 UTC by laruence@php.net
Patch bug62343.patch revision 2012-06-22 09:28 UTC by laruence@php.net

Patch bug62343.phpt for Class/Object related Bug #62343

Patch version 2012-06-22 09:29 UTC

Return to Bug #62343 | Download this patch
Patch Revisions:

Developer: laruence@php.net

--TEST--
Bug #62343 (Show class_alias In get_declared_classes( ))
--FILE--
<?php
class a{ }
class_alias('a', 'b');

print_r(get_declared_classes(true));
print_r(get_declared_interfaces(true));
print_r(get_declared_traits(true));
--EXPECTF--
Array
(
    [0] => a
    [1] => b
)
Array
(
)
Array
(
)
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sat Apr 19 06:02:27 2014 UTC