Download src/php/php-src/ext/readline/readline.stub.php from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/readline/readline.stub.php
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/readline/readline.stub.php
-
curl -L -o readline.stub.php https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/readline/readline.stub.php
1.08 kB
| /** @generate-class-entries */ | |
| /** | |
| * @var string | |
| * @cvalue READLINE_LIB | |
| */ | |
| const READLINE_LIB = UNKNOWN; | |
| function readline(?string $prompt = null): string|false {} | |
| /** @param int|string|bool|null $value */ | |
| function readline_info(?string $var_name = null, $value = null): mixed {} | |
| function readline_add_history(string $prompt): true {} | |
| function readline_clear_history(): true {} | |
| #ifdef HAVE_HISTORY_LIST | |
| /** | |
| * @return array<int, string> | |
| * @refcount 1 | |
| */ | |
| function readline_list_history(): array {} | |
| #endif | |
| function readline_read_history(?string $filename = null): bool {} | |
| function readline_write_history(?string $filename = null): bool {} | |
| function readline_completion_function(callable $callback): bool {} | |
| #ifdef HAVE_RL_CALLBACK_READ_CHAR | |
| function readline_callback_handler_install(string $prompt, callable $callback): true {} | |
| function readline_callback_read_char(): void {} | |
| function readline_callback_handler_remove(): bool {} | |
| function readline_redisplay(): void {} | |
| #ifdef HAVE_RL_ON_NEW_LINE | |
| function readline_on_new_line(): void {} | |
| #endif | |
| #endif | |