summaryrefslogtreecommitdiff
path: root/Zend/tests/bug43344_2.phpt
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-12-07 17:12:22 +0000
committerDmitry Stogov <dmitry@php.net>2007-12-07 17:12:22 +0000
commit31f6f1583eaa24a2049818ef5fd822bc0799bffc (patch)
tree3770b0eb3bb07b2524a43cc84824e2bf44f7328e /Zend/tests/bug43344_2.phpt
parentee1e57e1c4d8a8d386361e89f9bb72d41603049e (diff)
downloadphp-git-31f6f1583eaa24a2049818ef5fd822bc0799bffc.tar.gz
Fixed bug #43344 (Wrong error message for undefined namespace constant)
Diffstat (limited to 'Zend/tests/bug43344_2.phpt')
-rw-r--r--Zend/tests/bug43344_2.phpt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Zend/tests/bug43344_2.phpt b/Zend/tests/bug43344_2.phpt
new file mode 100644
index 0000000000..1c55559e26
--- /dev/null
+++ b/Zend/tests/bug43344_2.phpt
@@ -0,0 +1,9 @@
+--TEST--
+Bug #43344.2 (Wrong error message for undefined namespace constant)
+--FILE--
+<?php
+namespace Foo;
+echo Foo::bar."\n";
+?>
+--EXPECTF--
+Fatal error: Class 'Foo::Foo' not found in %sbug43344_2.php on line %d