$argv — 锟斤拷锟捷革拷锟脚憋拷锟侥诧拷锟斤拷锟斤拷锟斤拷
锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷时锟斤拷锟捷革拷锟斤拷前锟脚憋拷锟侥诧拷锟斤拷锟斤拷锟斤拷锟介。
Note: 锟斤拷一锟斤拷锟斤拷锟斤拷锟斤拷锟角碉拷前锟脚憋拷锟斤拷锟侥硷拷锟斤拷锟斤拷锟斤拷锟� $argv[0] 锟斤拷锟角脚憋拷锟侥硷拷锟斤拷锟斤拷
Note: 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟� register_argc_argv 锟斤拷时锟斤拷锟矫★拷
Example #1 $argv 锟斤拷锟斤拷
<?php
var_dump($argv);
?>
锟斤拷使锟斤拷锟斤拷锟斤拷锟斤拷锟街达拷校锟絧hp script.php arg1 arg2 arg3
锟斤拷锟斤拷锟斤拷锟教碉拷锟斤拷锟斤拷锟斤拷锟斤拷冢锟�
array(4) { [0]=> string(10) "script.php" [1]=> string(4) "arg1" [2]=> string(4) "arg2" [3]=> string(4) "arg3" }