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