Download src/php/php-src/ext/opcache/tests/bug68104.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/bug68104.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/opcache/tests/bug68104.phpt
-
curl -L -o bug68104.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/opcache/tests/bug68104.phpt
456 Bytes
| --TEST-- | |
| Bug #68104 (Segfault while pre-evaluating a disabled function) | |
| --CREDITS-- | |
| manuel <manuel@mausz.at> | |
| --INI-- | |
| opcache.enable=1 | |
| opcache.enable_cli=1 | |
| disable_functions=dl | |
| --EXTENSIONS-- | |
| opcache | |
| --SKIPIF-- | |
| if (getenv('SKIP_ASAN')) die('xleak dl() crashes LSan'); | |
| --FILE-- | |
| var_dump(is_callable("dl")); | |
| try { | |
| dl("a.so"); | |
| } catch (Error $e) { | |
| echo $e->getMessage(), "\n"; | |
| } | |
| --EXPECT-- | |
| bool(false) | |
| Call to undefined function dl() | |