summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_007.phpt
blob: 9d3e201b9f52243cb6dc2b74e4d02f6f6e5a0a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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