#50969 [Opn->Bgs]: operator overloading for classes
| From: | johannes@php.net | Date: | Mon, 08 Feb 2010 22:59:25 +0000 |
| Subject: | #50969 [Opn->Bgs]: operator overloading for classes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-147347@lists.php.net to get a copy of this message | ||
ID: 50969
Updated by: johannes@php.net
Reported By: sylvain at abstraction dot fr
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 5.3.2RC1
New Comment:
Operator overloading in a dynamically weak typed language is bad as
reading code gives no information what's happening. If you really want
it go to http://pecl.php.net/operator maybe that still
works.
Previous Comments:
------------------------------------------------------------------------
[2010-02-08 22:49:23] sylvain at abstraction dot fr
Description:
------------
I would like to know what is the current PHP team position about
operator overloading in PHP for classes.
Operator overloading has been stated Bogus in
http://bugs.php.net/bug.php?id=9331 but it was
more than two years ago.
I think it would be nice to have a discussion about that topic. If you
recently had one I would be interested if you could indicate me where I
can find it.
Best Regards.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50969&edit=1