"global" in PHP is the devil?
#13
^
Exactly, security is the most important thing Smile


(2012-01-12, 05:08 PM)Dylan M. Wrote: Matt made a very good point. When using classes, its good practice when possible to "extend" a base class, so that everything is available via $this. That is (mostly) how the Merge System is built, and I've no idea why I didn't think to mention it Wink

That's a good practice too Smile
Rasmus Lerdorf Wrote:If eval() is the answer, you're almost certainly asking the wrong question. - Rasmus Lerdorf
Reply


Messages In This Thread
"global" in PHP is the devil? - by TheGarfield - 2012-01-11, 10:01 PM
RE: "global" in PHP is the devil? - by Dylan M. - 2012-01-11, 10:15 PM
RE: "global" in PHP is the devil? - by pavemen - 2012-01-11, 11:30 PM
RE: "global" in PHP is the devil? - by labrocca - 2012-01-12, 12:04 AM
RE: "global" in PHP is the devil? - by Dylan M. - 2012-01-12, 12:36 AM
RE: "global" in PHP is the devil? - by Matt - 2012-01-12, 01:59 PM
RE: "global" in PHP is the devil? - by Dylan M. - 2012-01-12, 05:08 PM
RE: "global" in PHP is the devil? - by labrocca - 2012-01-12, 05:11 PM
RE: "global" in PHP is the devil? - by TheGarfield - 2012-01-12, 07:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)