From a72591107c41b7e7c907d051339013432b0ccdf3 Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 9 Jul 2008 18:13:23 +0000 Subject: [PATCH] Fixed bug #45469 (get_object_vars($this) varies from what documentation says) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262361 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../classobj/functions/get-object-vars.xml | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/reference/classobj/functions/get-object-vars.xml b/reference/classobj/functions/get-object-vars.xml index 7648c16f07..6c6191fb7d 100644 --- a/reference/classobj/functions/get-object-vars.xml +++ b/reference/classobj/functions/get-object-vars.xml @@ -1,5 +1,5 @@ - + get_object_vars @@ -12,7 +12,8 @@ objectobject - Gets the public properties of the given object. + Gets the accessible non-static properties of the given + object according to scope. @@ -33,9 +34,9 @@ &reftitle.returnvalues; - Returns an associative array of defined object public properties for the - specified object. If a property have not been - assigned a value, it will be returned with a &null; value. + Returns an associative array of defined object accessible non-static properties + for the specified object in scope. If a property have + not been assigned a value, it will be returned with a &null; value. @@ -95,6 +96,16 @@ array(2) { ["c"]=> NULL } +array(4) { + ["a"]=> + NULL + ["b"]=> + int(1) + ["c"]=> + NULL + ["d"]=> + NULL +} ]]>