box-o-sand/PracticingPhp/cli/args

10 lines
127 B
Plaintext
Raw Normal View History

2011-01-02 14:03:22 +00:00
#!/usr/bin/php -q
<?php
printf("ARGC = $argc\n\n");
foreach($argv as $i => $value) {
printf("ARGV[$i] = $value\n");
}
?>