Re: Patch-tastic!
| From: | Stig S. Bakken | Date: | Fri, 14 Jun 2002 23:13:04 +0000 |
| Subject: | Re: Patch-tastic! | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85223@lists.php.net to get a copy of this message | ||
On Wed, 2002-06-05 at 10:44, Ilker Cetinkaya wrote:
>
> "Sebastian Bergmann" <sebastian@php.net> wrote in message
> news:3CFD9E8D.6556E296@sebastian-bergmann.de...
> > Andrei Zmievski wrote:
> > > The latest one changes some operators.
> >
> > Nice, but why not overload + for strings to do the concatenation?
>
> i totally agree, overloading + for string concat is really desireable.
> imho using -> for member object access is ok. i see php more likely to be a
> c++ derivate than java or c#.
> just my .02c
I guess you should have been here when PHP 3 came out and + suddenly no
longer did string concatenation. There has been consensus on not
overloading operators since then. Don't expect this to change.
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb