Re: OO function overloading?

From: Date: Wed, 06 Aug 2003 04:14:24 +0000
Subject: Re: OO function overloading?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-158400@lists.php.net to get a copy of this message
Hi, This statement isn't entirely correct, overloading is possible with the overload extension. http://www.php.net/overload Regards, Greg -- phpDocumentor http://www.phpdoc.org Curt Zirzow wrote:
* Thus wrote Jean-Christian IMbeault (jc@mega-bucks.co.jp):
Is it possible to overload a function is a class. I would like to have the same function defined differently depending on the number of arguments passed in. For example:
overloading isn't possible in php4. Curt


« previous php.general (#158400) next »