Forum Moderators: coopster

Message Too Old, No Replies

memory management in PHP 5

How to keep data in memory

         

ravi

10:40 am on Aug 22, 2009 (gmt 0)

10+ Year Member



Hi,

i have one doubt on memory issue. if i declare one variable in PHP 5 then
1. which memory it is going to use(RAM/Secondary)?
2. can i define external memory to store the variables defined in program.

can anybody help me in this regards.

eelixduppy

12:49 am on Aug 26, 2009 (gmt 0)



The variables will be stored in temporary memory and are cleaned up by a "garbage collector". Maybe if you explained what you are trying to do I can help you figure out how to go about it.