From da144b00d8e2602c4f43fa2ed5862ac0064c1172 Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Tue, 18 Jan 2000 20:31:02 +0000 Subject: [PATCH] Updated empty() from the errata. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18734 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/var.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/functions/var.xml b/functions/var.xml index 6877899b80..ff9a755c52 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -44,10 +44,19 @@ Returns false if var is set and has a - non-empty or non-zero value; true otherwise. + non-empty or non-zero value; true otherwise. + - See also isset and unset. + 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. + + + + See also isset and unset. +