Rumah >pembangunan bahagian belakang >tutorial php >PHP $_SERVER['argv' ] 出现notice
php $_SERVER[argv]
http://localhost/demo/demo.php?a=123&b=132 $_SERVER['argv'] 用于 cli 方式下获取命令行参数
$_GET 才是用于获取 url 参数的
嗯,谢谢了,刚刚查到一个
http://stackoverflow.com/questions/9270030/serverargv-with-http-get-and-cli-issue
有点明白了,英语不中