[PHP-DOC] cvs: phpdoc /en/functions var.xml From: Jani Taskinen (sniper <email protected>)
Date: 09/29/00

sniper Fri Sep 29 16:08:49 2000 EDT

  Modified files:
    /phpdoc/en/functions var.xml
  Log:
  Cleaning docs for empty().
  
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.29 phpdoc/en/functions/var.xml:1.30
--- phpdoc/en/functions/var.xml:1.29 Tue Sep 19 14:09:41 2000
+++ phpdoc/en/functions/var.xml Fri Sep 29 16:08:49 2000
@@ -58,11 +58,13 @@
      <informalexample>
       <programlisting role="php">
 $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';
 }
       </programlisting>
      </informalexample>