Re: [RFC] Allow non-variable arguments to empty() and isset()
| From: | Pierre Joye | Date: | Thu, 03 May 2012 05:39:09 +0000 |
| Subject: | Re: [RFC] Allow non-variable arguments to empty() and isset() | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60426@lists.php.net to get a copy of this message | ||
hi Anthony,
On Wed, May 2, 2012 at 1:37 PM, Anthony Ferrara <ircmaxell@gmail.com> wrote:
> I voted for the ability to use an expression for isset() as well,
> since I agree with Ferenc, it's a matter of consistency. Sure, the
> use-case for isset() is definitely weaker than for empty(),
No, it is not about consistency but goals and meaning. An expression
is not set or unset. Anyway, that's not something we can argue about
forever :-).
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org