> you do not want to use strlen() for the following reasons:
> 1) makes code unreadable -> very sloppy

Yeah and your if(isset($var) && $var != '') is pretty

> 2) overhead

You call one function and do two comparisons - vs an age old C function ....
I'd like to run some numbers on that.

> 3) it will give a warning when $var is not set (error_reporting 15 
> only).

I run on the default error_reporting setting and it's never complained so far.

--Joe


> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

-------------------------------------------------------------------------------
Joe Stump, PHP Hacker, [EMAIL PROTECTED]                                 -o)
http://www.miester.org http://www.care2.com                                 /\\
"It's not enough to succeed. Everyone else must fail" -- Larry Ellison     _\_V
-------------------------------------------------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to