[RFC] Make empty() a Variadic

From: Date: Sat, 21 Feb 2015 05:11:45 +0000
Subject: [RFC] Make empty() a Variadic
Groups: php.internals 
Request: Send a blank email to internals+get-83376@lists.php.net to get a copy of this message
Hello Internals! The following RFC aims to make empty() have a variable arity: https://wiki.php.net/rfc/variadic_empty. This is a simple feature that enables for a short-hand notation of checking multiple expressions for emptiness (which is a pretty common thing to do). I have avoided including the is_*() functions into this RFC because my main priority is to get this particular feature into PHP 7.0 before feature freeze. Provided I have some free time over the next week, I'll write up another RFC + patch to cover the is_*() functions. Thanks,Tom

« previous php.internals (#83376) next »