mfischer                Mon Jun 10 05:15:37 2002 EDT

  Modified files:              
    /phpdoc/en/language types.xml 
    /phpdoc/en/reference/var/functions  is-null.xml 
  Log:
  - Properly document when a var is considered to be NULL and when not,
    closes #13577.
  
  
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.83 phpdoc/en/language/types.xml:1.84
--- phpdoc/en/language/types.xml:1.83   Sun Jun  9 15:52:00 2002
+++ phpdoc/en/language/types.xml        Mon Jun 10 05:15:36 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.83 $ -->
+<!-- $Revision: 1.84 $ -->
  <chapter id="language.types">
   <title>Types</title>
 
@@ -1807,6 +1807,26 @@
       The null type was introduced in PHP 4
      </simpara>
     </note>
+    <para>
+     A variable is considered to be &null; if
+     <itemizedlist>
+      <listitem>
+       <para>
+        it has been assigned the constant &null;.
+       </para>
+      </listitem>
+      <listitem>
+       <para>
+        it has not been set to any value yet.
+       </para>
+      </listitem>
+      <listitem>
+       <para>
+        it has been <function>unset</function>.
+       </para>
+      </listitem>
+     </itemizedlist>
+    </para>
     
    <sect2 id="language.types.null.syntax">
     <title>Syntax</title>
@@ -1819,6 +1839,9 @@
 $var = NULL;       
       </programlisting>
      </informalexample>
+    </para>
+    <para>
+     See also <function>is_null</function> and <function>unset</function>.
     </para>
    </sect2>
   
Index: phpdoc/en/reference/var/functions/is-null.xml
diff -u phpdoc/en/reference/var/functions/is-null.xml:1.2 
phpdoc/en/reference/var/functions/is-null.xml:1.3
--- phpdoc/en/reference/var/functions/is-null.xml:1.2   Wed Apr 17 02:44:57 2002
+++ phpdoc/en/reference/var/functions/is-null.xml       Mon Jun 10 05:15:37 2002
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.35 -->
   <refentry id="function.is-null">
    <refnamediv>
@@ -19,7 +19,12 @@
      &false; otherwise.
     </para>
     <para>
-     See also <function>is_bool</function>,
+     See the <link linkend="language.types.null.syntax">&null;</link> type
+     when a variable is considered to be &null; and when not.
+    </para>
+    <para>
+     See also <link linkend="language.types.null.syntax">&null;</link>,
+     <function>is_bool</function>,
      <function>is_numeric</function>,
      <function>is_float</function>,
      <function>is_int</function>,


Reply via email to