dis-bench / src /php /php-src /ext /pcre /tests /bug27011.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
233 Bytes
--TEST--
Bug #27011 (segfault in preg_match_all())
--FILE--
<?php
var_dump(preg_match_all('|(\w+)://([^\s"<]*[\w+#?/&=])|', "This is a text string", $matches, PREG_SET_ORDER));
var_dump($matches);
?>
--EXPECT--
int(0)
array(0) {
}