1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00
Files
archived-php-src/ext/pcre/tests/bug27011.phpt
Antony Dovgal ccd97f3a21 fix test names
2007-05-07 17:23:53 +00:00

14 lines
233 B
PHP

--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) {
}