summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_007.phpt
blob: 60ccced5042a749d93ad07168d16f4d7e966fddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
007: Run-time name conflict (php name)
--FILE--
<?php
namespace test::ns1;

class Exception {
}

$x = "Exception";
echo get_class(new $x),"\n";
--EXPECT--
Exception