PHP全局变量

1、global 关键字

2、$GLOBALS

3、使用静态变量

原文地址:https://www.cnblogs.com/loweringye/p/5856708.html