I want to write a PHP script that I can use from the command line. I want it to prompt and accept input for a few items, and then spit out some results. I want to do this in
One line of code (line 2):
Checkout this answer's source in blog post How can I capture user input from the cmd line using PHP?.