Home
last modified time | relevance | path

Searched refs:readline (Results 1 – 25 of 50) sorted by relevance

12

/PHP-8.1/ext/readline/
H A Dconfig.m42 [for libedit readline replacement],
7 PHP_ARG_WITH([readline],
8 [for readline support],
9 [AS_HELP_STRING([[--with-readline[=DIR]]],
10 [Include readline support (CLI/CGI only)])])
19 test -f $i/include/readline/readline.h && READLINE_DIR=$i && break
23 AC_MSG_ERROR(Please reinstall readline - I cannot find readline.h)
41 PHP_CHECK_LIBRARY(readline, readline,
45 AC_MSG_ERROR(readline library not found)
100 PHP_CHECK_LIBRARY(edit, readline,
[all …]
H A Dconfig.w323 ARG_WITH("readline", "Readline support", "yes");
6 if (CHECK_LIB("edit_a.lib;edit.lib", "readline", PHP_READLINE) &&
7 CHECK_HEADER_ADD_INCLUDE("editline/readline.h", "CFLAGS_READLINE")) {
8 EXTENSION("readline", "readline.c readline_cli.c");
13 WARNING("readline not enabled; libraries and headers not found");
H A DREADME.md1 readline chapter
5 See https://www.php.net/manual/en/book.readline.php
10 C variables starting with `rl_*` are declared by the readline library
16 but many distributions build readline as a shared extension.
17 Therefore, that code was split into ext/readline so that this can dynamically
18 be loaded. With other SAPIs, readline is/should be disabled.
H A Dreadline.c50 PHP_MINIT_FUNCTION(readline);
53 PHP_MINFO_FUNCTION(readline);
62 PHP_MINIT(readline),
63 PHP_MSHUTDOWN(readline),
65 PHP_RSHUTDOWN(readline),
66 PHP_MINFO(readline),
72 ZEND_GET_MODULE(readline)
75 PHP_MINIT_FUNCTION(readline) in PHP_MINIT_FUNCTION() argument
108 PHP_MINFO_FUNCTION(readline) in PHP_MINFO_FUNCTION() argument
116 PHP_FUNCTION(readline) in PHP_FUNCTION() argument
[all …]
H A Dreadline_arginfo.h62 ZEND_FUNCTION(readline);
90 ZEND_FE(readline, arginfo_readline)
/PHP-8.1/ext/readline/tests/
H A Dreadline_without_input.phpt2 readline() function - without input
7 readline
10 if (!function_exists('readline')) die("skip readline() not available");
14 var_dump(readline());
15 var_dump(readline('Prompt:'));
H A Dreadline_write_history_001.phpt4 readline
7 if (READLINE_LIB == "libedit") die("skip readline only");
8 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
13 $name = tempnam('/tmp', 'readline.tmp');
H A Dreadline_basic.phpt2 readline(): Basic test
7 readline
11 var_dump(readline('Enter some text:'));
H A Dreadline_read_history_001.phpt4 readline
8 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
13 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
H A Dlibedit_write_history_001.phpt4 readline
11 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
16 $name = tempnam('/tmp', 'readline.tmp');
H A Dreadline_info_001.phpt4 readline
6 <?php if (READLINE_LIB == "libedit") die("skip readline only");
7 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
H A Dreadline_callback_handler_remove_001.phpt4 readline
7 if (READLINE_LIB == "libedit") die("skip readline only");
H A Dlibedit_write_history_001-win32.phpt4 readline
15 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
H A Dreadline_callback_handler_install_001.phpt4 readline
7 if (READLINE_LIB == "libedit") die("skip readline only");
H A Dbug77812-readline.phpt4 readline
7 if (READLINE_LIB !== "readline") die('skip readline only');
H A Dlibedit_info_001.phpt4 readline
10 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
H A Dreadline_clear_history_001.phpt4 readline
H A Dreadline_list_history_001.phpt4 readline
H A Dbug69054.phpt4 readline
H A Dbug72538.phpt4 readline
/PHP-8.1/Zend/tests/
H A Dbug40236.phpt5 if (extension_loaded("readline")) die("skip Test doesn't support readline");
14 Interactive shell (-a) requires the readline extension.
/PHP-8.1/sapi/phpdbg/
H A Dconfig.m415 PHP_ARG_ENABLE([phpdbg-readline],
16 [for phpdbg readline support],
17 [AS_HELP_STRING([--enable-phpdbg-readline],
18 [Enable readline support in phpdbg (depends on static ext/readline)])],
35 AC_MSG_CHECKING([for phpdbg and readline integration])
42 AC_MSG_RESULT([readline is not available])
/PHP-8.1/sapi/cli/tests/
H A Dbug64529.phpt4 readline
11 die("skip readline support required");
24 if (extension_loaded("readline")) {
H A D016.phpt2 CLI -a and readline
4 readline
9 die ("skip need readline support");
H A D017.phpt4 readline
9 die ("skip need readline support using libedit");

Completed in 23 milliseconds

12