Re: should basic data validation go outside a function or inside?
| From: | Greg Donald | Date: | Wed, 10 Nov 2004 21:32:41 +0000 |
| Subject: | Re: should basic data validation go outside a function or inside? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201720@lists.php.net to get a copy of this message | ||
On Wed, 10 Nov 2004 11:00:12 -0800, Chris W. Parker
<cparker@swatgear.com> wrote:
> should basic data validation come before a function call or be performed
> within the function?
<advice type="record" status="b0rken" value="Benchmark them both and
see which way is faster. then post back and tell us. :)" />
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/