mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
1b4134c07b
[DOC] new resolution rules should be documented soon
9 lines
236 B
PHP
Executable File
9 lines
236 B
PHP
Executable File
--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 |