Re: Implicit isset/isempty check on short-ternary operator

From: Date: Sat, 16 Apr 2011 00:46:17 +0000
Subject: Re: Implicit isset/isempty check on short-ternary operator
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-51913@lists.php.net to get a copy of this message
There was also my suggestion of a "checked ternary" operator [see my previous email in this thread.] Backwards compatible, practical, and simple.
It doesn't address the main issues of code duplication and nullness checking, IMHO, so isn't a contender. Even though it's simple and compatible, it is only practical in a handful of cases. Ben.

« previous php.internals (#51913) next »