FAQ

[PHP-INTERNALS] [RFC] Allow non-variable arguments to empty() and isset()

Nikita Popov
Apr 30, 2012 at 1:05 pm

On Mon, Apr 30, 2012 at 9:50 AM, Patrick ALLAERT wrote:
Hi,

2012/4/12 Nikita Popov <nikita.ppv@googlemail.com>:
PS: I added isset() too, to address the consistency concerns mentioned on IRC.
I would have voted +1 if it didn't contain the isset() change. None of
the examples used in the isset_with_expr.phpt test seems logic to me.

Care to explain the consistency concerns here?

Patrick
I changed the vote to have three options: "Both empty() and isset()",
"Only empty()" or "None"

https://wiki.php.net/rfc/empty_isset_exprs#vote

Nikita
reply

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions