MyBB Hacks

Full Version: KILL_GLOBALS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://phpxref.com/xref/mybb/Upload/onli...http://phpxref.com/xref/mybb/Upload/online.php.sourc

Does somebody knows what does the 'KILL_GLOBALS' defined constant is useful for?

Just being curious.
It ensures they die a horrible death.
Globals are bad, and so we must rid the earth of this evil.
lol, but really, I was serious with my question -.-

Can you explain it?
Err, just look where it's referenced?
So it unset each of the php default globals, right ($_POST, $_GET, et..)?
Reference URL's