1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 13:31:27 +02:00
Files
archived-php-src/Zend/tests/ns_004.phpt
2012-10-10 10:27:49 +08:00

9 lines
236 B
PHP

--TEST--
004: Using global class name from namespace (unqualified - fail)
--FILE--
<?php
namespace test\ns1;
echo get_class(new Exception()),"\n";
--EXPECTF--
Fatal error: Class 'test\ns1\Exception' not found in %sns_004.php on line %d