例如 php test.php as a jokeprint_r($argv);echo $argc;print_r($argv);array_shift($argv);echo $argc;两处$argc依次输出:4 4可见对于$argv的修改并不会影响$argc.