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

1.1     ! misho       1: --TEST--
        !             2: Bug #26281 (switch() crash when condition is a string offset)
        !             3: --FILE--
        !             4: <?php
        !             5:        $x = 'abc';
        !             6:        switch ($x[0]) {
        !             7:                case 'a':
        !             8:                        echo "no crash\n";
        !             9:                        break;
        !            10:        }
        !            11: ?>
        !            12: --EXPECT--
        !            13: no crash

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