<?php class tmp{ public $a = 4; private $b = 5; } $test = new tmp(); var_dump(json_encode($test));
You have javascript disabled. You will not be able to edit any code.