As empty is "quite" the contrary of isset, the OR would be preferable
over AND.

Indeed:

if(!empty($var1) && !empty($var2))

could be simplified to

if(!empty($var1, $var2))

Regards.

-- 
Etienne Kneuss

http://www.colder.ch/
[EMAIL PROTECTED]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to