<?php class JsTest { private $hello = 'hello'; private $boum = true; public function getHello() { return $hello; } } $js = new JsTest; var_dump(json_encode($js));
You have javascript disabled. You will not be able to edit any code.