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

1.1     ! misho       1: --TEST--
        !             2: Bug #24699 (Memory Leak with per-class constants)
        !             3: --SKIPIF--
        !             4: <?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 is needed'); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: class TEST { const FOO = SEEK_CUR; };
        !             8: class TEST2 { const FOO = 1; };
        !             9: class TEST3 { const FOO = PHP_VERSION; };
        !            10: print TEST::FOO."\n";
        !            11: ?>
        !            12: --EXPECT--
        !            13: 1

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