KILL_GLOBALS
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #1
KILL_GLOBALS
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.

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 06-07-2012 06:04 PM by Sama34.)
06-07-2012 06:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: KILL_GLOBALS
It ensures they die a horrible death.
Globals are bad, and so we must rid the earth of this evil.

My Blog
06-07-2012 08:53 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #3
RE: KILL_GLOBALS
lol, but really, I was serious with my question -.-

Can you explain it?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
06-07-2012 09:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: KILL_GLOBALS
Err, just look where it's referenced?

My Blog
06-08-2012 09:15 AM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #5
RE: KILL_GLOBALS
So it unset each of the php default globals, right ($_POST, $_GET, et..)?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 06-08-2012 10:51 AM by Sama34.)
06-08-2012 10:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: