mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
14 lines
225 B
PHP
14 lines
225 B
PHP
--TEST--
|
|
Bug #62343 (Show class_alias In get_declared_classes())
|
|
--FILE--
|
|
<?php
|
|
class a { }
|
|
class_alias("a", "b");
|
|
$c = get_declared_classes();
|
|
var_dump(end($c));
|
|
var_dump(prev($c));
|
|
?>
|
|
--EXPECT--
|
|
string(1) "b"
|
|
string(1) "a"
|