Re: [PHP] destructor sequence explained

2007-02-28 Thread Satyam
- Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "james james" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, February 28, 2007 1:33 AM Subject: Re: [PHP] destructor sequence explained On Tue, February 27, 2007 6:11 pm, james james

Re: [PHP] destructor sequence explained

2007-02-27 Thread Richard Lynch
On Tue, February 27, 2007 6:11 pm, james james wrote: > Can someone please help explain how the order of object destructors > called > at shutdown is determined, especially with regards to objects composed > of other objects? I think that changed from version to version, so unless you are on a ded

[PHP] destructor sequence explained

2007-02-27 Thread james james
Hello Can someone please help explain how the order of object destructors called at shutdown is determined, especially with regards to objects composed of other objects? For example in the code below, the first example calls the destructors exactly in the order I would expect. Since object B is s