Re: ext/filter, add input_get_args, support of scalar or array result

From: Date: Mon, 01 May 2006 21:06:16 +0000
Subject: Re: ext/filter, add input_get_args, support of scalar or array result
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-23067@lists.php.net to get a copy of this message
On Mon, 1 May 2006 16:17:54 +0200 pierre.php@gmail.com (Pierre) wrote: > I also like to change input_get behaviors. We actually have no way to > know if a variable does not exists or is invalid. Both return NULL. > > I like to return false when a variable does not fit the condition and > NULL when it does not exist. Is it fine? If yes, I'll provide another > patch. The patch is updated to support this behavior in input_get_args. If a variable does not exist, its index is set to NULL, if its value is invalid, it is set to FALSE. It starts to be usefull :-) -- Pierre Did I help you? Please donate http://blog.thepimp.net/index.php/1998/04/12/57-please-donate

« previous php.internals (#23067) next »