[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/language/predefined/serializable/_serialize.xml?=
From:       Nikita_Popov <nikic () php ! net>
Date:       2019-02-21 10:46:28
Message-ID: svn-nikic-1550745988-346869-1126800524 () svn ! php ! net
[Download RAW message or body]

nikic                                    Thu, 21 Feb 2019 10:46:28 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=346869

Log:
Remove note about Serializable::serialize() acting as destructor

This doesn't make any sense. serialize() has nothing to do with destructors and \
__destruct() will still be called on the object, once it is destroyed.

Changed paths:
    U   phpdoc/en/trunk/language/predefined/serializable/serialize.xml

Modified: phpdoc/en/trunk/language/predefined/serializable/serialize.xml
===================================================================
--- phpdoc/en/trunk/language/predefined/serializable/serialize.xml	2019-02-21 \
                09:55:43 UTC (rev 346868)
+++ phpdoc/en/trunk/language/predefined/serializable/serialize.xml	2019-02-21 \
10:46:28 UTC (rev 346869) @@ -16,14 +16,6 @@
   <para>
    Should return the string representation of the object.
   </para>
-  <note>
-   <para>
-    This method acts as the
-    <link linkend="language.oop5.decon.destructor">destructor</link> of the object. \
                The
-    <link linkend="object.destruct">__destruct()</link> method will \
                <emphasis>not</emphasis> be called after this
-    method.
-   </para>
-  </note>

  </refsect1>



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic