From 34ebe16c9f2e3e1287c7f880b0e09726d2ce49ac Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 8 Nov 2004 15:01:34 +0000 Subject: [PATCH] Doesn't work with built-in objects (bug #30323) __sleep() works since 4.0.7 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172271 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/var/functions/serialize.xml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/reference/var/functions/serialize.xml b/reference/var/functions/serialize.xml index f52b7ecca6..6cfe445f00 100644 --- a/reference/var/functions/serialize.xml +++ b/reference/var/functions/serialize.xml @@ -1,5 +1,5 @@ - + @@ -38,18 +38,11 @@ Likewise, when the object is restored using unserialize the __wakeup member function is called. - In PHP 3, object properties will be serialized, but methods are @@ -59,6 +52,9 @@ section of Classes and Objects for more information. + + It is not possible to serialize PHP built-in objects. +