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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php