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

1.1     ! misho       1: --TEST--
        !             2: Bug #44913 (Segfault when using return in combination with nested loops and continue 2)
        !             3: --FILE--
        !             4: <?php
        !             5: function something() {
        !             6:         foreach(array(1, 2) as $value) {
        !             7:                 for($i = 0; $i < 1; $i++) {
        !             8:                         continue 2;
        !             9:                 }
        !            10:                 return;
        !            11:         }
        !            12: }
        !            13: something();
        !            14: echo "ok\n";
        !            15: ?>
        !            16: --EXPECT--
        !            17: ok

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