<?php $x = new stdClass; $x->{42} = 1; $y = (array)$x; echo json_encode($x); echo json_encode($y); echo $y[42];
You have javascript disabled. You will not be able to edit any code.