Source Code:
(back to article)
<?php $array = array("first" => "value1", 2 => "value2"); $json = json_encode($array); $new_array = json_decode($json, true); print_r($new_array);
Result:
Report an issue