Annotation of embedaddon/php/ext/pcre/tests/bug52732.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #52732 (Docs say preg_match() returns FALSE on error, but it returns int(0))
        !             3: --INI--
        !             4: pcre.backtrack_limit=1
        !             5: --FILE--
        !             6: <?php
        !             7: $ret = preg_match('/(?:\D+|<\d+>)*[!?]/', 'foobar foobar foobar');
        !             8: 
        !             9: var_dump($ret);
        !            10: 
        !            11: ?>
        !            12: --EXPECT--
        !            13: bool(false)

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