From 67bc61e801bf641cb98fb23674fd1c15f2a5e06f Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Wed, 9 Jul 2008 18:17:25 +0000 Subject: [PATCH] - Fix example (missing method in previous commit) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262362 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/classobj/functions/get-object-vars.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;