Return to Snippet

Revision: 48706
at July 7, 2011 23:54 by tcam27

Initial Code
echo $argv[$i] . "\n";

Initial URL

Initial Description
If you want to use PHP as a command line program, this code can serve s a reference to read the arguments passed to the program.

Initial Title
Read Command Line Arguments

Initial Tags
php, command, line

Initial Language