note 109347 deleted from function.get-object-vars by danbrown

From: Date: Mon, 16 Jul 2012 15:41:16 +0000
Subject: note 109347 deleted from function.get-object-vars by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189205@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- hello, this example will look like all values of vars was set in your class. write a method like the name: dumpClass and then fill in follow code: $vars = get_object_vars($this); echo "<b>class vars</b>"; foreach( $vars as $name => $value ) { echo "<li>".$name." : ".$value; } look at: get_object_vars($this); http://www.rxgs.com andreas v.l

« previous php.notes (#189205) next »