To me it doesn't make sense to use PHP from the command line. Mainly because it was never designed to be a shell utility.
You'll find Perl is more heavily used for command line utilities. Whether that means it's better though could be a matter of opinion.