notice:
$username='king'; function test3() { echo '用户名为:'.$GLOBALS[username]; } test3(); 为什么会有 Notice: Use of undefined constant username - assumed 'username' in D:\phpStudy\bbs_cyx_com\function.php on line 59 用户名为:king 这样的提示
$username='king'; function test3() { echo '用户名为:'.$GLOBALS[username]; } test3(); 为什么会有 Notice: Use of undefined constant username - assumed 'username' in D:\phpStudy\bbs_cyx_com\function.php on line 59 用户名为:king 这样的提示
2017-03-20
举报