xref: /PHP-5.3/Zend/tests/ns_007.phpt (revision 610c7fbe)
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--EXPECT--
13Exception
14