ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] cvs: phpdoc /en/reference/var/functions serialize.xml unserialize.xml
by Sander Roobol other posts by this author
Jan 4 2003 11:37AM messages near this date
[PHP-DOC] cvs: phpdoc /en/faq com.xml | [PHP-DOC] cvs: phpdoc /en/reference/cyrus configure.xml
sander		Sat Jan  4 06:37:01 2003 EDT

  Modified files:              
    /phpdoc/en/reference/var/functions	serialize.xml unserialize.xml 
  Log:
  Adding <function>  tags
  
  
Index: phpdoc/en/reference/var/functions/serialize.xml
diff -u phpdoc/en/reference/var/functions/serialize.xml:1.4 phpdoc/en/reference/var/function
s/serialize.xml:1.5
--- phpdoc/en/reference/var/functions/serialize.xml:1.4	Wed Nov 20 00:01:37 2002
+++ phpdoc/en/reference/var/functions/serialize.xml	Sat Jan  4 06:37:01 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?> 
-<!-- $Revision: 1.4 $ --> 
+<!-- $Revision: 1.5 $ --> 
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.28 --> 
   <refentry id="function.serialize"> 
    <refnamediv> 
@@ -32,11 +32,11 @@
     are <function> serialize</function>ing will also be stored.
    </simpara> 
    <simpara> 
-   When serializing objects, PHP will attempt to call the member function 
-   __sleep() prior to serialization. This is to allow the object to do any 
-   last minute clean-up, etc. prior to being serialized. Likewise, when 
-   the object is restored using <function> unserialize</function> the __wakeup() 
-   member function is called.
+   When serializing objects, PHP will attempt to call the member function
+   <function> __sleep</function> prior to serialization. This is to allow the
+   object to do any last minute clean-up, etc. prior to being serialized.
+   Likewise, when the object is restored using <function> unserialize</function>
+   the <function> __wakeup</function> member function is called.
    </simpara> 
    <!-- TODO
         in 4.0.4pl1 this didn't work properly, however, there
Index: phpdoc/en/reference/var/functions/unserialize.xml
diff -u phpdoc/en/reference/var/functions/unserialize.xml:1.9 phpdoc/en/reference/var/functi
ons/unserialize.xml:1.10
--- phpdoc/en/reference/var/functions/unserialize.xml:1.9	Wed Nov 20 00:01:37 2002
+++ phpdoc/en/reference/var/functions/unserialize.xml	Sat Jan  4 06:37:01 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?> 
-<!-- $Revision: 1.9 $ --> 
+<!-- $Revision: 1.10 $ --> 
 <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 --> 
   <refentry id="function.unserialize"> 
    <refnamediv> 
@@ -45,7 +45,7 @@
     <para> 
      If the variable being unserialized is an object, after successfully 
      reconstructing the object PHP will automatically attempt to call the
-     __wakeup() member function (if it exists). 
+     <function> __wakeup</function> member function (if it exists). 
      <example> 
       <title> unserialize_callback_func example</title>
       <programlisting role="php"> 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved