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