[PHP-DEV] Re: [DISCUSSION] Make empty() a Variadic

2015-02-12 Thread Benoit Schildknecht
Hi, Le Thu, 12 Feb 2015 19:55:09 +0100, Thomas Punt a écrit: Hello PHP Internals! I'd like to propose to make empty() a variadic, where if any arguments passed in are considered empty, then false is returned - otherwise return true. I absolutely love this idea, and would make a good us

[PHP-DEV] Re: [DISCUSSION] Make empty() a Variadic

2015-02-12 Thread Maciej Sobaczewski
W dniu 2015-02-12 o 19:55, Thomas Punt pisze: Hello PHP Internals! I'd like to propose to make empty() a variadic, where if any arguments passed in are considered empty, then false is returned - otherwise return true. My reasoning for wanting this feature is as follows:1)It's a common scenario t