1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00
Files
archived-php-src/Zend/tests/ns_005.phpt
T
Dmitry Stogov f32ffe9b43 Namespaces
2007-09-28 19:52:53 +00:00

13 lines
184 B
PHP
Executable File

--TEST--
005: Name conflict (php name in case if ns name exists)
--FILE--
<?php
namespace test::ns1;
class Exception {
}
echo get_class(new ::Exception()),"\n";
--EXPECT--
Exception