developerWorks: Command-Line PHP? Yes, You CAN!
Mar 21, 2007, 05:30 (0 Talkback[s])
(Other stories by Roger McCoy)
[ Thanks to IdaAshley for this link.
"Of course, just the fact that you can use PHP on the command
line isn't necessarily the best reason for doing so. However, you
might quickly find several pleasant surprises when you first begin
to experiment with PHP in this way. To begin with, debugging
existing scripts becomes far, far simpler than ever. Programs that
consist primarily of output with very little logic are incredibly
simple in PHP. Beyond that, you can use all your knowledge of PHP
to make it accomplish tasks you would never have thought of it for
before. In fact, there's really nothing stopping you from using PHP
as your Swiss Army knife for almost any given programming