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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to