Press Any Key To Exit in CLI

LeonNeol

New member
Is there a way to create a “Press Any Key To Exit” in PHP? So it only takes 1 input in STDIN (and the user doesn’t have to press "Enter) and then ends the script.
 
Back
Top