在linux下面测试脚本: [finance@jobexecutor gangfeng]$ php test.php a b $argv: 3 $argv: Array ( [0] => test.php [1] => a [2] => b )