Re: Methods for instatiating an object

From: Date: Wed, 12 May 2004 11:41:42 +0000
Subject: Re: Methods for instatiating an object
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-185973@lists.php.net to get a copy of this message
Rudy Metzger wrote:
It is as you say. The problem is normally negligible, but makes a big difference if there is alot done in the constructor of the object (e.g. scanning a huge file for certain strings). Then this will slow things down. This however is solved in PHP5. Thanks to all for your answers. They have been so clear.
I think it's interesting to know how that works. Knowing only that it works, some times is not enought. ;) Thanks again, Jordi.

« previous php.general (#185973) next »