Re: suggestion about ternary operator

From: Date: Sat, 21 Nov 2009 21:39:53 +0000
Subject: Re: suggestion about ternary operator
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-46151@lists.php.net to get a copy of this message
On 21.11.2009, at 22:29, Dante Lorenso wrote: > I would love to restate my recommendation for the function "filled". > Which is the opposite of "empty". Filled would accept a variable > number of arguments and return the first where empty evaluates as > false. > > Like empty, filled would not throw notices for undefined variables. > This is not the same as the ifsetor debate because filled is opposite > empty and cares not about isset. did you even read the RFC? regards, Lukas Kahwe Smith mls@pooteeweet.org

« previous php.internals (#46151) next »