Return to bug43344_12.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 misho 1: --TEST-- 2: Bug #43344.12 (Wrong error message for undefined namespace constant) 3: --FILE-- 4: <?php 5: function f($a=array(namespace\bar)) { 6: return $a[0]; 7: } 8: echo f()."\n"; 9: ?> 10: --EXPECTF-- 11: Fatal error: Undefined constant 'bar' in %sbug43344_12.php on line %d