C랑 똑같네...

 [ 소스코드 ]

<?
if ($argc > 1) {
        foreach ($argv as $k=>$v) echo "argv[".$k."] => ".$v."\n";
}
?>





 [ 실행결과 ]
[root@localhost home]# php test.php 1111 aaa
argv[0] => test.php
argv[1] => 1111
argv[2] => aaa
[root@localhost home]#

Posted by bloodguy
,