Andrey Hristov wrote:

>From the docs for empty():
>"Note that this is meaningless when used on anything which isn't a
>variable; i.e. empty (addslashes ($name)) has
>no meaning since it would be checking whether something which isn't a variable is a 
>variable with a FALSE value. "
>

Maybe I am not so clever, but the document writer tried to explain that 
empty()'s flaw is a feature. The correct doc should contain lvalue 
instead of variable.

-- 
jul




-- 
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]

Reply via email to