mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
14 lines
232 B
Plaintext
14 lines
232 B
Plaintext
|
--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) {
|
||
|
}
|