Re: Inconsistency of empty() and isset() ?

From: Date: Sun, 16 Apr 2006 23:24:11 +0000
Subject: Re: Inconsistency of empty() and isset() ?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-22801@lists.php.net to get a copy of this message
On Sun, April 16, 2006 4:40 pm, Derick Rethans wrote: > On Sat, 15 Apr 2006 itrebal@gmail.com wrote: > There is a thought about it, and that is that we could not decide > whether it should be an AND or an OR test between the different > parameters. I'm curious to know whoulda thunk it would be OR, and why?... I mean, the most common usage I've seen, bar far, is for form input validation of a zillion inputs. I've never quite grokked why others think empty is "better" than isset for that, and don't really want to even get into that thread (again) here, but I am interested to know when you'd have a whole BUNCH of args to test with empty and would want OR on a regular frequent basis. -- Like Music? http://l-i-e.com/artists.htm

« previous php.internals (#22801) next »