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

From: Date: Sat, 21 Feb 2015 22:56:32 +0000
Subject: RE: [PHP-DEV] [RFC] Make empty() a Variadic
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-83444@lists.php.net to get a copy of this message
Hey Dan, > Making it easier to write bad (imo) code does > not seem a good reason for a change. The point of this language feature isn't to promote or simplify the creation of bad code. Developers can (and will) misuse any feature to write poor code. The aim of this RFC is to enable developers to write less verbose code for what seems like a common scenario in code bases. Whilst the examples I shows may not be demonstrating the highest quality of code out there, they do show that code does exist (and in popular projects too) that could benefit from having this feature included  into PHP. > > cheers > Dan Thanks, Tom

« previous php.internals (#83444) next »