Hello George,

Friday, July 9, 2004, 8:56:15 PM, you wrote:


> On Jul 9, 2004, at 2:55 PM, Rasmus Lerdorf wrote:

>> On Thu, 8 Jul 2004, Marc Richards wrote:
>>> Are you saying PHP will never introduce an operator that doesn't 
>>> already
>>> exist in a large number of other languages?
>>
>> That's a good rule.  Over the 10 years of PHP development we have 
>> followed
>> this with the only exception being the === operators for checking for
>> "really equal".

> And you could make a case for similar operators existing in perl (eq vs 
> ==, which are of course slightly different).

Looking at the confusion we started by simply having a different order in
evaluating the ternary operator i won't recomment starting to introduce new
operators like ?: that would definitively confuse everybody and tend to
erroneous code because it is too easy to misuse them by mistake....so lets
keep with that rule.

marcus

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

Reply via email to