Annotation of embedaddon/php/Zend/tests/bug43344_13.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #43344.13 (Wrong error message for undefined namespace constant)
        !             3: --FILE--
        !             4: <?php
        !             5: function f($a=array(namespace\bar=>0)) {
        !             6:        reset($a);
        !             7:        return key($a);
        !             8: }
        !             9: echo f()."\n";
        !            10: ?>
        !            11: --EXPECTF--
        !            12: Fatal error: Undefined constant 'bar' in %sbug43344_13.php on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>