有没有办法创建我自己的自定义超级全局变量,例如 $_POST 和 $_GET?
静态类变量可以全局引用,例如:
class myGlobals { static $myVariable; } function a() { print myGlobals::$myVariable; }