From c796f6a654d9275071cfea664a515981cb2118e8 Mon Sep 17 00:00:00 2001 From: Etienne Kneuss Date: Fri, 13 Jul 2007 17:56:19 +0000 Subject: [PATCH] Fix #41992 (__sleep doesn't return the value to serialize) Thanks jsnell for the patch. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@239717 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/magic.xml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/language/oop5/magic.xml b/language/oop5/magic.xml index 2fbc50472b..3c0521aba1 100644 --- a/language/oop5/magic.xml +++ b/language/oop5/magic.xml @@ -1,5 +1,5 @@ - + Magic Methods @@ -50,10 +50,6 @@ useful if you have very large objects which do not need to be saved completely. - - The __sleep method should return the value to serialize - (usually $this), otherwise &null; is serialized. - Conversely, unserialize checks for the presence of a function with the magic name