SiteMinder / Webhosting
The Computer Merchant, Ltd
US-MA-North Quincy

Justtechjobs.com Post A Job | Post A Resume

Comments for: argerich20030411.php3

Message # 1021129:
Date: 07/21/04 07:53
By: Jona
Subject: RE: Construct/Destruct/Memory in Php5

I don't realy know why do you call the parent's destructor before you clean current object. That's usual to object programmer to do it this way and then everything is clean:

class CParent
{
function __destruct()
{
echo "Parent's destructor...";
}
}

class CChild
{
function __destruct()
{
echo "Child's destructor...";
parent::__destruct();
}
}

Jona

Previous Message | Next Message


Comments:
OO and maintainabilitydmancan05/10/05 02:28
Can some one Kel04/08/05 11:27
php image cacheMeg03/28/05 06:56
RE: pi is wrong?cross10/15/04 04:33
best for code generationYounkarm Chung09/09/04 13:33
PHP4 and PHP5 on Windows in 2 sec.Romain07/26/04 09:16
RE: Construct/Destruct/Memory in Php5Jona07/21/04 07:53
PHP5 on windowsRomain07/13/04 08:58
RE: No Polluting FlameWars - pleaseBrett King07/12/04 11:54
Procedural/Object Brothers - are we not one?Brett King07/12/04 11:45
RE: Oh my god!Tommy06/26/04 17:46
cloning doesnt workMarnix06/13/04 07:45
Think about itBisso06/09/04 10:24
RE: packagewednesday05/08/04 16:04
Did we miss the point???Sentry04/09/04 20:48
packageJohn03/12/04 07:50
RE: Great!Stephen McConnell02/25/04 13:48
No Polluting FlameWars - pleaseJacMoe12/19/03 17:49
Construct/Destruct/Memory in Php5Nikunj Soni12/03/03 01:34
RE: .net is betterScott Holodak11/14/03 19:29
RE: This is so stupidJosh Spivey10/16/03 17:36
PHP, JAVA, C++Rick Robinson09/04/03 00:00
RE: Look like Java to mejigen08/28/03 01:52
RE: PHP's direction - reassuranceMike Blamires08/06/03 08:00
RE: Look like Java to mecristobal garcia08/03/03 04:57
WERE IS THE PROBLEM? !!!Luca Stasio08/01/03 05:28
pi is wrong?Doug Dante07/31/03 12:12
Up to date with PHP5 changesBogdan07/25/03 12:44
Close to best of both worldsCarsten07/24/03 03:55
Missing the pointPradesh Chanderpaul07/23/03 08:04
PHP5 and Java will shape the new InternetLuiz Miguel Axcar07/15/03 11:02
Thanks, but no thanks...Scott07/15/03 04:10
Object porting from PHP4 to PHP5 ?platypus07/14/03 21:35
PHP 5 OOP Help ProjectsChristian Sueiras07/11/03 08:36
RE: Zeev nixes namespaces?Jean-Philippe Léveillé07/09/03 12:56
YahoooBrian Stegman07/09/03 10:46
RE: Oh my god!dvkm07/04/03 05:10
They have to make the leap sometimeFred McCann07/02/03 12:42
RE: .net is betterSimone06/29/03 09:41
I like it!!php4.2306/26/03 02:04
I Love It!Joel PIttet06/24/03 21:19
RE: .net is betterDavid Fells06/17/03 18:38
I guess IL is next...David Fells06/16/03 10:16
RE: This is so stupidZeev Suraski06/16/03 04:34
Excellentmuneer06/12/03 08:56
RE: PHP4/PHP5 - C/C++Sriram06/10/03 00:47
Zeev nixes namespaces?David Vance06/09/03 16:16
Switch to jsp.Bill Berggren06/06/03 02:09
RE: My little tiffs && RE: PHP4/PHP5 - C/C++Gaetano Giunta06/03/03 08:39
RE: .net is bettermatrix05/29/03 16:45
This is so stupidExcorcist05/29/03 01:36
RE: no finally ?Eric Golpe05/22/03 08:36
RE: Look like Java to meBrandon Goodin05/21/03 19:27
no finally ?Norman Shu05/20/03 06:00
RE: .net is betterYonmaN05/20/03 03:16
RE: .net is betterIan05/16/03 17:01
RE: PHP's direction - reassuranceMichael Muryn05/14/03 22:14
Thank you! But when's it official?David Chen05/13/03 23:31
RE: .net is betterfeather05/09/03 15:40
Portability of PHP4 code to PHP5Etherel Johnson05/09/03 06:54
wat r they upto...aasim05/09/03 03:52
Aces specifiers for name spaceSaravanan05/09/03 03:38
RE: PHP4/PHP5 - C/C++Parla05/02/03 08:44
.net is betterJohn05/01/03 18:23
Divergion?jim caprioli04/30/03 10:42
RE: InterfacesLuis04/29/03 17:28
PHP5 ---> going SeriousCristovão Morgado04/23/03 13:30
Interfacesahundiak04/23/03 09:23
RE: Look like Java to meRegina04/22/03 09:50
RE: Look like Java to meScott R.S.04/20/03 17:24
RE: PHP-GTK & PHP5... XUL?Harry Fuecks04/20/03 13:20
It keeps getting better!Eric Golpe04/20/03 11:23
Love It!!Simon Johnson04/20/03 08:30
RE: PHP-GTK & PHP5John Starkey04/19/03 15:30
RE: Great!Sam Barnum04/18/03 21:42
RE: Look like Java to meJakes04/18/03 14:18
RE: Oh my god!Wil Hepworth04/17/03 10:18
My little tiffs && RE: PHP4/PHP5 - C/C++James Payne04/16/03 16:52
Constructor ChainingEd Williams04/16/03 11:32
RE: Look like Java to meJayant Kumar Gandhi04/16/03 11:15
RE: PHP's direction - reassuranceDavid Fung04/15/03 18:00
what's the problemgeoffrey golliher04/15/03 16:22
PHP-GTK & PHP5Jakes04/15/03 15:38
PHP's direction - reassuranceZeev Suraski04/15/03 08:39
RE: PHP4/PHP5 - C/C++Martin Braun04/15/03 06:29
RE: Look like Java to meNathan Trujillo04/14/03 23:27
RE: PHP4/PHP5 - C/C++Stefan Johnson04/14/03 17:13
PHP4/PHP5 - C/C++Jean-Marc Molina04/14/03 06:45
RE: Look like Java to meIan Holmes04/14/03 06:28
RE: Look like Java to meChris G Haravata04/13/03 19:29
Great!Edward Hermanson04/13/03 17:37
Hmmm...Edward Hermanson04/13/03 14:58
Look like Java to meJohn C. Ghormley04/13/03 11:28
RE: Oh my god!epplestun04/13/03 06:40
Oh my god!Marcel Swinkels04/12/03 07:01
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.