Re: [VOTE] Make empty() a Variadic

From: Date: Sat, 14 Mar 2015 16:05:44 +0000
Subject: Re: [VOTE] Make empty() a Variadic
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-84780@lists.php.net to get a copy of this message
how about two separate methods all_empty() and non[e]_empty()?
How about empty() and full() ? Ok, that was a bad attempt as a joke, but please no ;)
don't get your point. Are you against my naming suggestions or the possibility to check many vars on emptiness? There are these two groups with contrary expectations. What is the downside to give both a proper solution?
The "proper solution" you suggest adds two more functions and I think we plenty already.
For current problem area there are exactly zero functions.
We can't make empty variadic because it's ambiguous? Fine, I think I can live with it.
Somewhat masochistic approach considering we can unambiguous get rid of code bloat.

« previous php.internals (#84780) next »