php-src/ext/pcre/tests/bug27011.phpt

14 lines
233 B
Plaintext
Raw Normal View History

2006-12-08 12:15:21 +00:00
--TEST--
2007-05-07 17:23:53 +00:00
Bug #27011 (segfault in preg_match_all())
2006-12-08 12:15:21 +00:00
--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) {
}