![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #62343 (Show class_alias In get_declared_classes()) ! 3: --FILE-- ! 4: <?php ! 5: class a { } ! 6: class_alias("a", "b"); ! 7: $c = get_declared_classes(); ! 8: var_dump(end($c)); ! 9: var_dump(prev($c)); ! 10: ?> ! 11: --EXPECT-- ! 12: string(1) "b" ! 13: string(1) "a"