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

From: Date: Fri, 13 Feb 2015 14:22:08 +0000
Subject: RE: [PHP-DEV] [DISCUSSION] Make empty() a Variadic
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-82614@lists.php.net to get a copy of this message
Hi, > Date: Fri, 13 Feb 2015 15:09:16 +0100 > From: sbj.ml.read@gmail.com > > While I don't know how common such a usage is I'm certain that there > is a use case for it. However, just modifying a subset of the is_* > functions sounds like a bad idea. If such a change is applied it > should be done to all type related is_* functions and be similar to > issets behavior (return false if at least one argument is not of the > given type). > > Thanks, Agreed on that. It would be better for consistency's sake. -Tom

« previous php.internals (#82614) next »