xref: /PHP-5.3/Zend/tests/bug43344_3.phpt (revision 7126de49)
1--TEST--
2Bug #43344.3 (Wrong error message for undefined namespace constant)
3--FILE--
4<?php
5namespace Foo;
6function f($a=Foo::bar) {
7	return $a;
8}
9echo f()."\n";
10?>
11--EXPECTF--
12Fatal error: Class 'Foo\Foo' not found in %sbug43344_3.php on line %d
13