jan             Wed Dec 12 18:00:48 2001 EDT

  Modified files:              
    /phpdoc/en/functions        var.xml 
  Log:
  fixed #13967 unsetting a static varible inside a function destryoes 
  the variable.
  
  
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.82 phpdoc/en/functions/var.xml:1.83
--- phpdoc/en/functions/var.xml:1.82    Wed Dec 12 15:47:32 2001
+++ phpdoc/en/functions/var.xml Wed Dec 12 18:00:47 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.82 $ -->
+<!-- $Revision: 1.83 $ -->
  <reference id="ref.variables">
   <title>Variable Functions</title>
   <titleabbrev>Variables</titleabbrev>
@@ -1329,8 +1329,8 @@
     </para>
     <para>
      If a static variable is <function>unset</function> inside of a
-     function, <function>unset</function> unsets the reference to the
-     static variable, rather than the static variable itself.
+     function, <function>unset</function> destroyes the variable and all 
+     its references.
      <informalexample>
       <programlisting role="php">
 <![CDATA[
@@ -1353,8 +1353,8 @@
       <screen>
 <![CDATA[
 1
-2
-3
+1
+1
 ]]>
       </screen>
      </informalexample>


Reply via email to