bernd           Sun Dec  9 20:08:03 2001 EDT

  Modified files:              
    /phpdoc/en/functions        var.xml 
  Log:
  fixed the last invalid changes (xml)
  
Index: phpdoc/en/functions/var.xml
diff -u phpdoc/en/functions/var.xml:1.80 phpdoc/en/functions/var.xml:1.81
--- phpdoc/en/functions/var.xml:1.80    Sun Dec  9 19:46:49 2001
+++ phpdoc/en/functions/var.xml Sun Dec  9 20:08:03 2001
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.80 $ -->
+<!-- $Revision: 1.81 $ -->
  <reference id="ref.variables">
   <title>Variable Functions</title>
   <titleabbrev>Variables</titleabbrev>
@@ -1150,18 +1150,21 @@
      If an object was serialized, its methods are not preserved in the
      returned value.
     </simpara>
-    <simpara>
-     It's possible to set a callback-function which will be called,
-     if an undefined class should be instanciated during unserializing.
-     (to prevent getting an incomplete <type>object</type> "__PHP_Incomplete_Class".)
-     Use your php.ini, <function>ini_set</function> or .htaccess-file 
-     to define 'unserialize_callback_func'. 
-     Everytime an undefined class should be instanciated, it'll be called. 
-     To disable this feature just empty this global variable.
+    <note>
      <para>
-      <example>
-       <title>unserialize_callback_func example</title>
-       <programlisting role="php">
+      It's possible to set a callback-function which will be called,
+      if an undefined class should be instanciated during unserializing.
+      (to prevent getting an incomplete <type>object</type> "__PHP_Incomplete_Class".)
+      Use your php.ini, <function>ini_set</function> or .htaccess-file 
+       to define 'unserialize_callback_func'. 
+      Everytime an undefined class should be instanciated, it'll be called. 
+      To disable this feature just empty this global variable.
+     </para>
+    </note>
+    <para>
+     <example>
+      <title>unserialize_callback_func example</title>
+      <programlisting role="php">
 <![CDATA[
 $serialized_object='O:1:"a":1:{s:5:"value";s:3:"100";}';
 
@@ -1172,10 +1175,9 @@
     // you get $classname to figure out which classdefinition is required
 }
 ]]>
-       </programlisting>
-      </example>
-     </para>
-    </simpara>
+      </programlisting>
+     </example>
+    </para>
     <note>
      <para>
       In PHP 3, methods are not preserved when unserializing a


Reply via email to