Re: should basic data validation go outside a function or inside?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 10 Nov 2004 11:00:12 -0800, Chris W. Parker
<cparker@xxxxxxxxxxxx> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux