Download src/php/php-src/ext/readline/tests/readline_without_input.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/readline/tests/readline_without_input.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/readline/tests/readline_without_input.phpt
-
curl -L -o readline_without_input.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/readline/tests/readline_without_input.phpt
283 Bytes
| --TEST-- | |
| readline() function - without input | |
| --CREDITS-- | |
| Jonathan Stevens <info at jonathanstevens dot be> | |
| User Group: PHP-WVL & PHPGent #PHPTestFest | |
| --EXTENSIONS-- | |
| readline | |
| --FILE-- | |
| <?php | |
| var_dump(readline()); | |
| var_dump(readline('Prompt:')); | |
| ?> | |
| --EXPECTF-- | |
| bool(false) | |
| %Abool(false) | |