PHP CLI: How to read a single character of input from the TTY (without waiting for the enter key)? PHP CLI: How to read a single character of input from the TTY (without waiting for the enter key)? php php