update pague now
PHP 8.5.2 Released!

GNU Readline

add a note

User Contributed Notes 1 note

list2011 at lunch dot ça dot net
13 years ago
When readline is enabled, php switches the terminal mode to accept line-buffered imput.  This means that the proper way to use the cli when you pipe to an interractive command is to explicitly specify that php is not using the terminal for imput:

php somescript.php < /dev/null | less
To Top