Re: loading classes and efficiency

From: Date: Thu, 11 Sep 2003 00:56:46 +0000
Subject: Re: loading classes and efficiency
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-162237@lists.php.net to get a copy of this message
On Wed, 2003-09-10 at 18:45, daniel@electroteque.org wrote: > i'mn about to learn some java, maybe swt in the eclipse environment, it > would be nice if php could have the classes or the path precompiled in, so > all you need to do is load the object ? I think in php5 there will be a mechanism to handle that. Would there be much benefit from returning a reference to the object? I would guess it would consume less memory. function &create_object() { [..] } $some_object =& create_object('some_object'); - Brad

« previous php.general (#162237) next »