<?php $a = array("1" => 5, 2 => 10, 3, "2" => 7); $b = (object) $a; print_r($b);
You have javascript disabled. You will not be able to edit any code.