summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2010-05-20 20:55:33 +0000
committerJohannes Schlüter <johannes@php.net>2010-05-20 20:55:33 +0000
commit61db5cf98a91916c23ae4adf3754b2ef94a4fbb2 (patch)
tree1e0527691b9773d5edf32340d653810dd1d276a4 /ext/json/php_json.h
parent31f62dbc72f5d2c2670a1e3646a4bf2e62f0321d (diff)
downloadphp-git-61db5cf98a91916c23ae4adf3754b2ef94a4fbb2.tar.gz
- Improved CLI Interactive readline shell (Johannes)
. Added cli.pager ini setting to set a pager for output. . Added cli.prompt ini settingto configure the shell prompt. . Added shortcut #inisetting=value to change ini settings at run-time. . Don't terminate shell on fatal errors. A pager can be a an shell command which will receive the command output on its STDIN channel php > #cli.pager=less php > phpinfo(); (output will appear in the pager) php > #cli.pager=grep -i readline php > phpcredits(); Readline => Thies C. Arntzen php > #cli.pager= (output appears again direct on the terminal) A prompt can contain a few escape sequences like php > #cli.prompt=\e[032m\v \e[031m\b \e[34m\> \e[0m 5.3.99-dev php > //Colorful prompt with version number A prompt can also contaian PHP code in backticks php > #cli.prompt=`echo gethostname();` \b \> guybrush php >
Diffstat (limited to 'ext/json/php_json.h')
0 files changed, 0 insertions, 0 deletions