is there a way to create my own custom superglobal variables like $_POST and $_GET?
Static class variables can be referenced globally, e.g.:
class myGlobals { static $myVariable; } function a() { print myGlobals::$myVariable; }
1.4m articles
1.4m replys
5 comments
57.0k users