Re: Implicit isset in ternary operator
From: Alex Aulbach Date: Thu, 02 Aug 2012 22:26:35 +0000 Subject: Re: Implicit isset in ternary operator References: 1 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
2012/8/2 Andrew Faulds <[email protected]>: > Hi, > > Also in JavaScript if in strict mode. Legacy non-strict mode JS doesn't cause an error > though. > > JS's || operator supresses this error though, which is great for e.g. x = x || new > Object(); Could be cool to make this in PHP with the 'or' operator (or not ||)... Which brings us back to the subject... -- Alex Aulbach
Thread (31 messages)
« previous | php.internals (#61975) | next » |
---|