From 5169e9e846f49a06a47a0223a7b5487f1a1c65d2 Mon Sep 17 00:00:00 2001 From: Maciek Sokolewicz Date: Mon, 13 Feb 2012 19:55:02 +0000 Subject: [PATCH] fixes bug #60888 -- Provided by christoph.rosse (christoph@rosse.at) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323193 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/classobj/functions/get-class-vars.xml | 4 ++-- reference/classobj/functions/get-parent-class.xml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/reference/classobj/functions/get-class-vars.xml b/reference/classobj/functions/get-class-vars.xml index 9c79032e31..ac6925c0ab 100644 --- a/reference/classobj/functions/get-class-vars.xml +++ b/reference/classobj/functions/get-class-vars.xml @@ -34,10 +34,10 @@ &reftitle.returnvalues; Returns an associative array of declared properties visible from the - current scope, with their default value, or &false; if the - class_name refers to a non-existent class. + current scope, with their default value. The resulting array elements are in the form of varname => value. + In case of an error, it returns &false;. diff --git a/reference/classobj/functions/get-parent-class.xml b/reference/classobj/functions/get-parent-class.xml index 1feeb885c7..af52eb17ab 100644 --- a/reference/classobj/functions/get-parent-class.xml +++ b/reference/classobj/functions/get-parent-class.xml @@ -38,8 +38,7 @@ - If the object does not have a parent or a non-existent class name is - given, &false; will be returned. + If the object does not have a parent or the class given does not exist &false; will be returned.