Download src/php/php-src/ext/pcre/tests/bug27011.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pcre/tests/bug27011.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/pcre/tests/bug27011.phpt
-
curl -L -o bug27011.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/pcre/tests/bug27011.phpt
233 Bytes
| --TEST-- | |
| Bug #27011 (segfault in preg_match_all()) | |
| --FILE-- | |
| 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) { | |
| } | |