• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

tests/H15-Dec-2021-715624

CREDITSH A D15-Dec-202126 32

README.mdH A D15-Dec-2021726 2115

config.m4H A D03-May-20223.6 KiB145122

config.w32H A D15-Dec-2021545 1613

php_readline.hH A D15-Dec-20211.3 KiB3511

readline.cH A D15-Dec-202114 KiB599446

readline.stub.phpH A D15-Dec-2021991 4214

readline_arginfo.hH A D15-Dec-20214 KiB11797

readline_cli.cH A D03-May-202219.4 KiB823682

readline_cli.hH A D15-Dec-20211.6 KiB4017

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