[RFC] Allow non-variable arguments to empty() and isset()
| From: | Nikita Popov | Date: | Thu, 12 Apr 2012 21:42:45 +0000 |
| Subject: | [RFC] Allow non-variable arguments to empty() and isset() | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-59804@lists.php.net to get a copy of this message | ||
Hi internals!
As per the comments I created an RFC, proposing to allow arbitrary
expressions to be passed to empty() and isset():
https://wiki.php.net/rfc/empty_isset_exprs
The patch is available as a PR:
https://github.com/php/php-src/pull/54
Nikita
PS: I added isset() too, to address the consistency concerns mentioned on IRC.