xref: /PHP-7.4/Zend/tests/bug62343.phpt (revision 4a629150)
1--TEST--
2Bug #62343 (Show class_alias In get_declared_classes())
3--FILE--
4<?php
5class a { }
6class_alias("a", "b");
7$c = get_declared_classes();
8var_dump(end($c));
9var_dump(prev($c));
10?>
11--EXPECT--
12string(1) "b"
13string(1) "a"
14