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

From: Date: Sat, 21 Feb 2015 13:32:06 +0000
Subject: RE: [PHP-DEV] [RFC] Make empty() a Variadic
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-83387@lists.php.net to get a copy of this message
Hey Leigh, > Hey Tom, > > Patch looks solid (basically the same as the isset logic with OR > instead of AND). I think it's fairly sane to have this feature because > it compliments isset functionality (although I dislike "empty" > personally - consistency is nice) > > No RFC would be complete without a complaint about naming. > "empty_expressions" ... I'll give you an empty expression! > > But overall +1 on functionality and patch. > > Cheers! > > Leigh. Thanks for the feedback :) -Tom

« previous php.internals (#83387) next »