Re: in-line function?

From: Date: Tue, 22 Jul 2003 00:18:48 +0000
Subject: Re: in-line function?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-29376@lists.php.net to get a copy of this message
Donny Lee wrote: > Ohhh.. sorry for that. it's quite simple, i'm wondering if > we can have something like those in-line functions in C++: > > class someCLASS { > var $varLength; > // .... other stuff.... > > inline function length() { > return $this->varLength; > } > } > > i expect it will make PHP script speed up a bit, coding > easier, etc... but not sure it will do or not. :) > What would be the difference (besides putting the word "inline" in front of the function)? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.db (#29376) next »