RE: [PHP-DEV] proposed access modifier "silent" ... was: Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator
| From: | Mike Robinson | Date: | Tue, 12 Apr 2011 11:30:14 +0000 |
| Subject: | RE: [PHP-DEV] proposed access modifier "silent" ... was: Re: [PHP-DEV] Implicit isset/isempty check on short-ternary operator | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51876@lists.php.net to get a copy of this message | ||
On Mon, Apr 11, 2011 at 4:09 PM Chris Stockton wrote:
> My suggestion to use ?? I will say has little to do with laziness. I
> would be happy with any solution that solves my problem, I just know
> that implementing a patch for ?? would be simple enough (I could even
> do so if requested). Everyone has different use patterns as shown in
> other examples, this is natural and just comes with the domain.
Laziness should not be confused with a desire to write clean readable
code quickly. :)
I have use for this, it's a nice clean solution to a simple problem.
FWIW, +1.
Best Regards
Mike Robinson