more cli stuff
This commit is contained in:
parent
abcdf7e2a8
commit
b7d382d470
9
cli/args
Executable file
9
cli/args
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/php -q
|
||||||
|
<?php
|
||||||
|
|
||||||
|
printf("ARGC = $argc\n\n");
|
||||||
|
foreach($argv as $i => $value) {
|
||||||
|
printf("ARGV[$i] = $value\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user