RE: [PHP-DEV] [VOTE] Make empty() a Variadic
| From: | Thomas Punt | Date: | Thu, 12 Mar 2015 19:43:53 +0000 |
| Subject: | RE: [PHP-DEV] [VOTE] Make empty() a Variadic | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-84654@lists.php.net to get a copy of this message | ||
Hey Derick,
> IMO, because it's not obvious whether it is *all* empty, or *atleast
> one* empty. The same argument we had before, when we expanded isset() to
> be variadic. We had the same discussion then, resulting on keeping
> empty() as it is.
>
> One discussion 11 years ago:
> http://marc.info/?l=php-internals&m=109836951711930
>
> I can't find the discussion prior to that though.
>
> cheers,
> Derick
Thanks for the link. I wasn't aware this had come up in the past.
-Tom