Download src/php/php-src/ext/mbstring/tests/bug72710.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mbstring/tests/bug72710.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/mbstring/tests/bug72710.phpt
-
curl -L -o bug72710.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/mbstring/tests/bug72710.phpt
335 Bytes
| --TEST-- | |
| Bug #72710 (`mb_ereg` causes buffer overflow on regexp compile error) | |
| --EXTENSIONS-- | |
| mbstring | |
| --SKIPIF-- | |
| if (!function_exists('mb_ereg')) die('skip mbregex support not available'); | |
| --FILE-- | |
| mb_ereg('(?<0>a)', 'a'); | |
| --EXPECTF-- | |
| Warning: mb_ereg(): mbregex compile err: invalid group name <0> in %s on line %d | |