Re: [VOTE] Make empty() a Variadic

From: Date: Fri, 13 Mar 2015 06:46:09 +0000
Subject: Re: [VOTE] Make empty() a Variadic
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-84664@lists.php.net to get a copy of this message
Am 12.03.2015 um 20:42 schrieb Thomas Punt:
The only compromise I can think of (though not sure on its feasibility) would be to have a flag as the last parameter that defaulted to logically AND'ing its args with the ability to switch the semantics to logically OR the args.
Hello Thomas, how about two separate methods all_empty() and non[e]_empty()? Thank you!

« previous php.internals (#84664) next »