Download src/php/php-src/sapi/phpdbg/tests/bug78297.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/bug78297.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/phpdbg/tests/bug78297.phpt
-
curl -L -o bug78297.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/phpdbg/tests/bug78297.phpt
399 Bytes
| --TEST-- | |
| Bug #78297: Include unexistent file memory leak | |
| --PHPDBG-- | |
| r | |
| q | |
| --FILE-- | |
| <?php | |
| include "does_not_exist.php"; | |
| ?> | |
| --EXPECTF-- | |
| [Successful compilation of %s] | |
| prompt> | |
| Warning: include(%s): Failed to open stream: No such file or directory in %s on line %d | |
| Warning: include(): Failed opening 'does_not_exist.php' for inclusion (include_path=%s) in %s on line %d | |
| [Script ended normally] | |
| prompt> | |