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

1.1     ! misho       1: --TEST--
        !             2: Trying to redeclare constant inside namespace
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: namespace foo;
        !             7: 
        !             8: const foo = 1;
        !             9: const foo = 2;
        !            10: 
        !            11: ?>
        !            12: --EXPECTF--
        !            13: Notice: Constant foo\foo already defined in %s on line %d

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