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

var_dump($ret);

?>
--EXPECT--
bool(false)