Re: new overloading feature?

From: Date: Sat, 14 May 2005 11:02:34 +0000
Subject: Re: new overloading feature?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-16249@lists.php.net to get a copy of this message
Hi, Justin Hannus wrote: > My thoughts are: > > 1. Adding to many __methods is ugly. right > 2. Interesting subject though. Not to add to the flame but I've seen the > need for more advanced overloading features in allot of the code I've > been writing with PHP5. Consider the following example (C++ almost like, > may slow down the engine but seems like a cleaner idea): NO. :-) Overloading operators had been discussed before a lot. Please check the archives and Steph's nice summaries: http://www.zend.com/zend/week/week210.php#Heading7 http://www.zend.com/zend/week/week222.php#Heading2 johannes -- Johannes Schlüter Mayflower GmbH / ThinkPHP http://thinkphp.de http://blog.thinkphp.de

« previous php.internals (#16249) next »