Re: PHP 5.1
| From: | Jason Garber | Date: | Thu, 03 Feb 2005 00:07:47 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-14548@lists.php.net to get a copy of this message | ||
Hello Andi,
>>However i'd like to see the 'ifsetor' or '?:' operator since it
>>makes
>>many things much faster and easier to read.
AG> I am not sure if the security filter functions aren't enough because they
AG> will be used to gather and verify input which is the main purpose of ifsetor.
AG> Also, we never found a great implementation but that's another story :)
ifsetor() has many uses other than input filtering although it is one
of the main uses.
ifsetor($var, default) is the very clean, simple syntax that I think
should be used. I do not believe that input filtering should be built
into ifsetor.
Thanks.
PS (The name, as long as it's fairly short, is not important to me at
all)
--
Best regards,
Jason mailto:jason@ionzoft.com