From b9f7ef8203dca6b4c0f6f88d5283a0a09549e23b Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Fri, 17 Feb 2017 18:06:35 +0000 Subject: [PATCH] Fix grammar Patch provided by Travis Raymond Uribe. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341920 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/predefined/serializable.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/predefined/serializable.xml b/language/predefined/serializable.xml index feb7ea300b..7ca0189984 100644 --- a/language/predefined/serializable.xml +++ b/language/predefined/serializable.xml @@ -20,7 +20,7 @@ __sleep() and __wakeup(). The method serialize is called whenever an instance needs to be serialized. This does not invoke __destruct() - or has any other side effect unless programmed inside the method. When the data is + or have any other side effect unless programmed inside the method. When the data is unserialized the class is known and the appropriate unserialize() method is called as a constructor instead of calling __construct(). If you need to execute the standard constructor you may do so in the method. @@ -29,7 +29,7 @@ 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, __wakeup() is called - instead of the serialize method, what might be useful for migration + instead of the serialize method, which might be useful for migration purposes.