Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 24-Nov-2024 | - | ||||
tests/ | H | 16-Dec-2024 | - | |||
CREDITS | H A D | 30-Aug-2022 | 26 | 3 | 2 | |
README.md | H A D | 30-Aug-2022 | 726 | 21 | 15 | |
config.m4 | H A D | 11-Aug-2024 | 5.2 KiB | 164 | 139 | |
config.w32 | H A D | 30-Aug-2022 | 545 | 16 | 13 | |
php_readline.h | H A D | 10-Jun-2024 | 1.4 KiB | 41 | 16 | |
readline.c | H A D | 15-Nov-2024 | 14.5 KiB | 617 | 464 | |
readline.stub.php | H A D | 25-Oct-2024 | 1 KiB | 48 | 15 | |
readline_arginfo.h | H A D | 25-Oct-2024 | 3.9 KiB | 102 | 83 | |
readline_cli.c | H A D | 26-Jun-2024 | 19.1 KiB | 808 | 669 | |
readline_cli.h | H A D | 30-Aug-2022 | 1.6 KiB | 40 | 17 |
README.md
1readline 2======== 3 4Provides generic line editing, history, and tokenization functions. 5See https://www.php.net/manual/en/book.readline.php 6 7Implementation Details 8---------------------- 9 10C variables starting with `rl_*` are declared by the readline library 11(or are macros referring to variables from the libedit library). 12See http://web.mit.edu/gnu/doc/html/rlman_2.html 13 14This should only be used in the CLI SAPI. 15Historically, the code lived in sapi/cli, 16but many distributions build readline as a shared extension. 17Therefore, that code was split into ext/readline so that this can dynamically 18be loaded. With other SAPIs, readline is/should be disabled. 19 20`readline_cli.c` implements most of the interactive shell(`php -a`). 21