On 22 Oct 2008, at 00:22, Jochem Maas wrote:
Stut schreef:
I use destructors to update dirty objects in memcache.
care to eloborate ... sounds interesting.
Nothing complicated. The core objects in my application are all cached
in memcache. If anything changes in an object it changes an
Stut schreef:
On 22 Oct 2008, at 00:22, Jochem Maas wrote:
Stut schreef:
I use destructors to update dirty objects in memcache.
care to eloborate ... sounds interesting.
Nothing complicated. The core objects in my application are all cached
in memcache. If anything changes in an object it
On Tue, Oct 21, 2008 at 5:14 PM, Stut [EMAIL PROTECTED] wrote:
When a script ends everything is released (with some small exceptions),
thus also all references to instances of classes.
Thus AFAIK a deconstructor will always be called at the end of script
execution.
but you have no
On Wed, Oct 22, 2008 at 9:42 AM, Dan Joseph [EMAIL PROTECTED] wrote:
On Tue, Oct 21, 2008 at 5:14 PM, Stut [EMAIL PROTECTED] wrote:
When a script ends everything is released (with some small exceptions),
thus also all references to instances of classes.
Thus AFAIK a deconstructor will
On 22 Oct 2008, at 14:42, Dan Joseph wrote:
On Tue, Oct 21, 2008 at 5:14 PM, Stut [EMAIL PROTECTED] wrote:
When a script ends everything is released (with some small
exceptions),
thus also all references to instances of classes.
Thus AFAIK a deconstructor will always be called at the end of
On 22 Oct 2008, at 09:35, Jochem Maas wrote:
Stut schreef:
On 22 Oct 2008, at 00:22, Jochem Maas wrote:
Stut schreef:
I use destructors to update dirty objects in memcache.
care to eloborate ... sounds interesting.
Nothing complicated. The core objects in my application are all
cached
On Wed, Oct 22, 2008 at 2:29 PM, Stut [EMAIL PROTECTED] wrote:
Never any issues this way? They always run without a hitch?
Not had any issues to far, and it's being used on some pretty busy sites
and various PHP versions and several different web servers.
Terrific! Thanks for the
Dan Joseph wrote:
Hi,
I want to make sure I completely understand __destruct() and when its hit...
Understand that it will run if all references to a particular object are
removed, but is that also true when a page ends its execution?
Example, I call a database class. It constructs,
Mike van Riel schreef:
Dan Joseph wrote:
Hi,
I want to make sure I completely understand __destruct() and when its
hit...
Understand that it will run if all references to a particular object are
removed, but is that also true when a page ends its execution?
Example, I call a database
On 21 Oct 2008, at 22:08, Jochem Maas wrote:
Mike van Riel schreef:
Dan Joseph wrote:
Hi,
I want to make sure I completely understand __destruct() and when
its
hit...
Understand that it will run if all references to a particular
object are
removed, but is that also true when a page
Stut schreef:
On 21 Oct 2008, at 22:08, Jochem Maas wrote:
Mike van Riel schreef:
Dan Joseph wrote:
Hi,
I want to make sure I completely understand __destruct() and when its
hit...
Understand that it will run if all references to a particular object
are
removed, but is that also true
11 matches
Mail list logo