After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:07_Global variables
global $a //请把一下$a定义为全局变量
2020-08-250个赞
Courses in the relevant section:08_Static variable
也可以使用 echo $GLOBALS['$a'];也可以使用该方式直接访问外部$a
static $a = 100; 静态变量定义
2020-08-250个赞