Home
last modified time | relevance | path

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

12

/PHP-8.0/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 …]
/PHP-8.0/ext/readline/tests/
H A Dreadline_without_input.phpt2 readline() function - without input
8 if (!extension_loaded("readline")) die("skip readline extension is not available");
9 if (!function_exists('readline')) die("skip readline() not available");
13 var_dump(readline());
14 var_dump(readline('Prompt:'));
H A Dreadline_basic.phpt2 readline(): Basic test
7 <?php if (!extension_loaded("readline")) die("skip"); ?>
11 var_dump(readline('Enter some text:'));
H A Dreadline_write_history_001.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip");
5 if (READLINE_LIB == "libedit") die("skip readline only");
10 $name = tempnam('/tmp', 'readline.tmp');
H A Dbug77812-readline.phpt5 if (!extension_loaded('readline')) die('skip readline extension not available');
6 if (READLINE_LIB !== "readline") die('skip readline only');
H A Dreadline_read_history_001.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); …
8 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
H A Dreadline_callback_handler_remove_001.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_remove')) di…
5 if (READLINE_LIB == "libedit") die("skip readline only");
H A Dlibedit_write_history_001-win32.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip");
13 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
H A Dlibedit_write_history_001.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip");
13 $name = tempnam('/tmp', 'readline.tmp');
H A Dreadline_read_history_error_001.phpt6 <?php if (!extension_loaded("readline")) die('skip readline extension not loaded'); ?>
H A Dreadline_callback_handler_install_001.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_install')) d…
5 if (READLINE_LIB == "libedit") die("skip readline only");
H A Dreadline_info_001.phpt4 <?php if (!extension_loaded("readline")) die("skip");
5 if (READLINE_LIB == "libedit") die("skip readline only");
H A Dreadline_clear_history_001.phpt4 <?php if (!extension_loaded("readline")) die("skip"); ?>
H A Dreadline_list_history_001.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); …
H A Dbug77812-libedit.phpt5 if (!extension_loaded('readline')) die('skip readline extension not available');
H A Dbug69054.phpt4 <?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip"); ?>
H A Dbug72538.phpt4 <?php if (!extension_loaded("readline")) die("skip");
/PHP-8.0/sapi/phpdbg/
H A Dconfig.m421 PHP_ARG_ENABLE([phpdbg-readline],
22 [for phpdbg readline support],
23 [AS_HELP_STRING([--enable-phpdbg-readline],
24 [Enable readline support in phpdbg (depends on static ext/readline)])],
41 AC_MSG_CHECKING([for phpdbg and readline integration])
48 AC_MSG_RESULT([readline is not available])
/PHP-8.0/Zend/tests/
H A Dbug40236.phpt5 if (extension_loaded("readline")) die("skip Test doesn't support readline");
/PHP-8.0/sapi/cli/tests/
H A Dbug64529.phpt8 if (!extension_loaded("readline") || !readline_info("done")) {
9 die("skip readline support required");
22 if (extension_loaded("readline")) {
H A D016.phpt2 CLI -a and readline
6 if (!extension_loaded('readline') || readline_info('done') === NULL) {
7 die ("skip need readline support");
H A D017.phpt6 if (!extension_loaded('readline') || readline_info('done') !== NULL) {
7 die ("skip need readline support using libedit");

Completed in 24 milliseconds

12