dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Introduction> <newt_win_ternary
[edit] Last updated: Fri, 28 Jun 2013

view this page in

GNU Readline



add a note add a note User Contributed Notes Readline - [1 notes]
up
0
list2011 at lunch dot za dot net
1 year ago
When readline is enabled, php switches the terminal mode to accept line-buffered input.  This means that the proper way to use the cli when you pipe to an interactive command is to explicitly specify that php is not using the terminal for input:

php somescript.php < /dev/null | less

 
show source | credits | stats | sitemap | contact | advertising | mirror sites