<?php class A{ } $a = new A(); $a->var = "toto"; echo json_encode($a);
You have javascript disabled. You will not be able to edit any code.