Re: PHP 5.1
| From: | Derick Rethans | Date: | Thu, 03 Feb 2005 10:23:02 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14561@lists.php.net to get a copy of this message | ||
On Thu, 3 Feb 2005, Sebastian Bergmann wrote:
> Derick Rethans wrote:
> > This adds operator overloading to user classes?
>
> Yes, have a look at Johannes' Complex example [1].
Okay, mega Yuck then. Although it looks cool, I consider it as a bad
practise. It confuses the hell out of people that they can add two
objects. Use C++/Java if you want this...
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org