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

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

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