From f4fbc4ea73a5f8301ff7bc6f3b3c03bf0feb03a3 Mon Sep 17 00:00:00 2001 From: Daniel Egeberg Date: Sun, 15 Aug 2010 07:17:24 +0000 Subject: [PATCH] Fixed PHP bug #52605 (get_class(NULL) returns class name when called insid member function of a class) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302255 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/classobj/functions/get-class.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reference/classobj/functions/get-class.xml b/reference/classobj/functions/get-class.xml index 20472dd41d..7a2d4fb069 100644 --- a/reference/classobj/functions/get-class.xml +++ b/reference/classobj/functions/get-class.xml @@ -9,7 +9,7 @@ &reftitle.description; stringget_class - objectobject + objectobject&null; Gets the name of the class of the given object. @@ -57,6 +57,14 @@ + + Since 5.3.0 + + &null; became the default value for object, + so passing &null; to object now has the same + result as not passing any value. + + Since 5.0.0