<?php $a = new stdClass(); $a->{1} = 'Y'; $prop = 1; $b = json_decode(json_encode($a));
You have javascript disabled. You will not be able to edit any code.