<?php class foo {public $id;} $foo = new foo(); $foo->id = 1234; print_r(json_encode($foo));
You have javascript disabled. You will not be able to edit any code.