xref: /PHP-8.4/Zend/tests/ns_007.phpt (revision 7aacc705)
1--TEST--
2007: Run-time name conflict (php name)
3--FILE--
4<?php
5namespace test\ns1;
6
7class Exception {
8}
9
10$x = "Exception";
11echo get_class(new $x),"\n";
12?>
13--EXPECT--
14Exception
15