Re: what happened to that new isset() like language

From: Date: Sat, 10 Jul 2004 00:07:47 +0000
Subject: Re: what happened to that new isset() like language
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-11054@lists.php.net to get a copy of this message
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

« previous php.internals (#11054) next »