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

1.1     ! misho       1: --TEST--
        !             2: Bug #63173: Crash when invoking invalid array callback
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: // the important part here are the indexes 1 and 2
        !             7: $callback = [1 => 0, 2 => 0];
        !             8: $callback();
        !             9: 
        !            10: ?>
        !            11: --EXPECTF--
        !            12: Fatal error: Array callback has to contain indices 0 and 1 in %s on line %d

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