A new guide has been published: How to use PHP through command-line
Linux Hint published a tutorial about how to use PHP through command-line.
Read more @ Linux Compatible