Download src/php/php-src/sapi/phpdbg/tests/gh12962.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/gh12962.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/phpdbg/tests/gh12962.phpt
-
curl -L -o gh12962.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/gh12962.phpt
323 Bytes
| --TEST-- | |
| GH-12962 (Double free of init_file in phpdbg_prompt.c) | |
| --SKIPIF-- | |
| if (!getenv('TEST_PHPDBG_EXECUTABLE')) die("SKIP: No TEST_PHPDBG_EXECUTABLE specified"); | |
| --FILE-- | |
| putenv('PHP_INI_SCAN_DIR='.__DIR__."/gh12962"); | |
| passthru(getenv('TEST_PHPDBG_EXECUTABLE') . " -q"); | |
| --EXPECT-- | |
| Executed .phpdbginit | |