Re: [PHP] Garbage Collection

2009-02-06 Thread Shawn McKenzie
Frank Stanovcak wrote: > ""Boyd, Todd M."" wrote in message > news:33bde0b2c17eef46acbe00537cf2a19003cb4...@exchcluster.ccis.edu... >> -Original Message- >> From: tedd [mailto:t...@sperling.com] >> Sent: Thursday, February 05, 2009 10:07 AM >> To: php-general@lists.php.net >> Subject: [PH

Re: [PHP] Garbage Collection

2009-02-06 Thread Frank Stanovcak
""Boyd, Todd M."" wrote in message news:33bde0b2c17eef46acbe00537cf2a19003cb4...@exchcluster.ccis.edu... > -Original Message- > From: tedd [mailto:t...@sperling.com] > Sent: Thursday, February 05, 2009 10:07 AM > To: php-general@lists.php.net > Subject: [PHP] Garbage Collection > > Hi ga

Re: [PHP] Garbage Collection

2009-02-05 Thread Paul M Foster
On Thu, Feb 05, 2009 at 02:48:14PM -0500, tedd wrote: > At 7:03 PM + 2/5/09, Nathan Rixham wrote: >> IMHO forget the active flag, replace it with a field "deleted" which >> is a timestamp, then you've got an audit trail of when the it was >> removed :) >> >> infact often seen three fields on e

Re: [PHP] Garbage Collection

2009-02-05 Thread tedd
At 7:03 PM + 2/5/09, Nathan Rixham wrote: IMHO forget the active flag, replace it with a field "deleted" which is a timestamp, then you've got an audit trail of when the it was removed :) infact often seen three fields on every table, "inserted, updated and deleted" all timestamps and sel

Re: [PHP] Garbage Collection

2009-02-05 Thread Nathan Rixham
Dan Shirah wrote: Hi gang: A related question to my last "Clarity needed" post. I have a tutor table (showing all the tutors), a course table (showing all the courses), and a course-to-tutor table (showing all the instances of what tutor teaches what course). Okay, everything works. Whenever I

Re: [PHP] Garbage Collection

2009-02-05 Thread Bastien Koert
On Thu, Feb 5, 2009 at 11:10 AM, Eric Butera wrote: > On Thu, Feb 5, 2009 at 11:06 AM, tedd wrote: > > Hi gang: > > > > A related question to my last "Clarity needed" post. > > > > I have a tutor table (showing all the tutors), a course table (showing > all > > the courses), and a course-to-tuto

Re: [PHP] Garbage Collection

2009-02-05 Thread Dan Shirah
> > Hi gang: > > A related question to my last "Clarity needed" post. > > I have a tutor table (showing all the tutors), a course table (showing all > the courses), and a course-to-tutor table (showing all the instances of what > tutor teaches what course). > > Okay, everything works. Whenever I wa

RE: [PHP] Garbage Collection

2009-02-05 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:t...@sperling.com] > Sent: Thursday, February 05, 2009 10:07 AM > To: php-general@lists.php.net > Subject: [PHP] Garbage Collection > > Hi gang: > > A related question to my last "Clarity needed" post. > > I have a tutor table (showing all the tu

Re: [PHP] Garbage Collection

2009-02-05 Thread Eric Butera
On Thu, Feb 5, 2009 at 11:06 AM, tedd wrote: > Hi gang: > > A related question to my last "Clarity needed" post. > > I have a tutor table (showing all the tutors), a course table (showing all > the courses), and a course-to-tutor table (showing all the instances of what > tutor teaches what course

Re: [PHP] Garbage collection and strange session behaviour

2006-06-04 Thread Rasmus Lerdorf
Are you actually hitting this race condition in the real world? With a decently long maxlifetime setting I can't really see this being a realistic problem. Remember the timer is reset on every access. -Rasmus BNR - IT Department wrote: Hi, Here is a simple script: ".session_id()." -that's

Re: [PHP] Garbage Collection?

2002-08-21 Thread Rasmus Lerdorf
> Hi everybody, > > Is there any requirement to free variables in php, or is there any > garbage collection or built-in module that terminates unused variables? > (Especially for arrays and class instances)... Garbage collection is automatic in PHP. When you do: $a = 123; $a = 456; Then the me