Page 1 of 1

Can you put too much information into a variable?

Posted: Mon Sep 28, 2009 7:17 pm
by Mr Tech
I'm creating a script that makes use of the $GLOBALS variable quite a lot. Is there too much you can put into a variable?

If I have a lot of information stored in $GLOBAL variable when the page loads, is this going to slow down the site much or not really?

Is there a limit to how much information one should store in a variable? How does it work?

And would it be better to remove information from that variable when I am done with it?

Thanks for your help! Want to make sure i get this right before I go any further.

Re: Can you put too much information into a variable?

Posted: Mon Sep 28, 2009 8:47 pm
by requinix
Any relation to this thread?