>> What looks better and is easier to read?:
For me - the first one. Go figure what that @ is about. Also, 'if' allows
you for 'else'.
>> it. But, making foreach threat NULL variables as empty arrays, would
>> be a goof thing IMO.
Maybe it is worth to demote this warning to E_NOTICE? I personally don't
have a strong opinion on this.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115
--
PHP Development 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]