From f2d7cb6ba9b90ec3e802c899b273ffb9a4321475 Mon Sep 17 00:00:00 2001 From: foobar Date: Fri, 29 Sep 2000 23:08:49 +0000 Subject: [PATCH] Cleaning docs for empty(). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33128 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/var.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/functions/var.xml b/functions/var.xml index 266700c87c..4c40603949 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -58,11 +58,13 @@ print $double_value_of_var; // prints 122.34343 $var = 0; -if (empty($var)) { #evaluates true - print '$var is either 0 or not at all set'; + +if (empty($var)) { // evaluates true + echo '$var is either 0 or not set at all'; } + if (!isset($var)) { // evaluates false - print 'The $var is not set at all'; + echo '$var is not set at all'; }