Home
last modified time | relevance | path

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

123

/php-src/ext/readline/
H A Dconfig.m42 [for libedit readline replacement],
7 PHP_ARG_WITH([readline],
8 [for readline support],
19 AS_IF([test -f $i/include/readline/readline.h], [READLINE_DIR=$i; break;])
23 [AC_MSG_ERROR([Please reinstall readline - I cannot find readline.h])])
38 PHP_CHECK_LIBRARY([readline], [readline],
73 #include <readline/readline.h>
79 #include <readline/readline.h>
87 [Define to 1 if readline extension uses the 'readline' library.])
157 PHP_NEW_EXTENSION([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
111 PHP_MINFO_FUNCTION(readline) in PHP_MINFO_FUNCTION() argument
119 PHP_FUNCTION(readline) in PHP_FUNCTION() argument
[all …]
H A Dreadline_arginfo.h55 ZEND_FUNCTION(readline);
76 ZEND_FE(readline, arginfo_readline)
/php-src/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_info_002.phpt4 readline
6 <?php if (READLINE_LIB == "libedit") die("skip readline only");
7 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
12 $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 Dgh16812.phpt4 readline
7 if (getenv('SKIP_REPEAT')) die("skip readline has global state");
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
/php-src/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-src/sapi/phpdbg/
H A Dconfig.m416 PHP_ARG_ENABLE([phpdbg-readline],
17 [for phpdbg readline support],
18 [AS_HELP_STRING([--enable-phpdbg-readline],
19 [Enable readline support in phpdbg (depends on static ext/readline)])],
30 AC_MSG_CHECKING([for phpdbg and readline integration])
34 [Define to 1 if the phpdbg SAPI has libedit/readline integration.])
38 AC_MSG_RESULT([readline is not available])
/php-src/sapi/cli/tests/
H A Dbug64529.phpt4 readline
11 die("skip readline support required");
24 if (extension_loaded("readline")) {
H A Dgh14189.phpt4 readline
9 die ("skip need readline support");
H A D016.phpt2 CLI -a and readline
4 readline
9 die ("skip need readline support");

Completed in 28 milliseconds

123