http://localhost/demo/demo.php?a=123&b=132
输出出现:
Notice: Undefined index: args in F:\php\www\demo\demo.php on line 35这是怎么回事呀,请明白人指点php$_SERVER[argv]
输出出现:
Notice: Undefined index: args in F:\php\www\demo\demo.php on line 35这是怎么回事呀,请明白人指点php$_SERVER[argv]
$_GET 才是用于获取 url 参数的
http://stackoverflow.com/questions/9270030/serverargv-with-http-get-and-cli-issue
有点明白了,英语不中