mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix #76606: Widespread regression with Serializable interface and legacy __wakeup method
We revert revision 339383. While this info was valid for PHP 5.1.0 up to PHP 5.4.28 and 5.5.12, respectively, it is no longer, and as such it's rather confusing. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345303 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
89fd9d4157
commit
4c276c97e1
1 changed files with 0 additions and 7 deletions
|
@ -25,13 +25,6 @@
|
|||
a constructor instead of calling __construct(). If you need to execute the standard
|
||||
constructor you may do so in the method.
|
||||
</para>
|
||||
<para>
|
||||
Note, that when an old instance of a class that implements this interface
|
||||
now, which had been serialized before the class implemeted the interface, is
|
||||
unserialized, <link linkend="object.wakeup">__wakeup()</link> is called
|
||||
instead of the unserialize method, which might be useful for migration
|
||||
purposes.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
||||
|
|
Loading…
Reference in a new issue