mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +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"
|