diff --git a/reference/classobj/functions/get-object-vars.xml b/reference/classobj/functions/get-object-vars.xml index 6c6191fb7d..601a826c98 100644 --- a/reference/classobj/functions/get-object-vars.xml +++ b/reference/classobj/functions/get-object-vars.xml @@ -1,5 +1,5 @@ - + get_object_vars @@ -79,6 +79,10 @@ class foo { public $c; private $d; static $e; + + public function test() { + var_dump(get_object_vars($this)); + } } $test = new foo;