summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/ns_004.phpt')
-rwxr-xr-xZend/tests/ns_004.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/ns_004.phpt b/Zend/tests/ns_004.phpt
index 792367cdf6..d293f65dce 100755
--- a/Zend/tests/ns_004.phpt
+++ b/Zend/tests/ns_004.phpt
@@ -1,9 +1,9 @@
--TEST--
-004: Name conflict (php name)
+004: Using global class name from namespace (unqualified - fail)
--FILE--
<?php
namespace test\ns1;
echo get_class(new Exception()),"\n";
---EXPECT--
-Exception
+--EXPECTF--
+Fatal error: Class 'test\ns1\Exception' not found in %sns_004.php on line %d \ No newline at end of file