diff options
Diffstat (limited to 'Zend/tests/bug43344_3.phpt')
-rw-r--r-- | Zend/tests/bug43344_3.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/bug43344_3.phpt b/Zend/tests/bug43344_3.phpt new file mode 100644 index 0000000000..26a6b46a3b --- /dev/null +++ b/Zend/tests/bug43344_3.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #43344.3 (Wrong error message for undefined namespace constant) +--FILE-- +<?php +namespace Foo; +function f($a=Foo::bar) { + return $a; +} +echo f()."\n"; +?> +--EXPECTF-- +Fatal error: Class 'Foo::Foo' not found in %sbug43344_3.php on line %d |