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