Added PHP CLI version.

Can be run from the command line with "php numguess.php" or simply "./numguess.php" under Linux. If CLI is configured.