<?php $json = '{"int": 1, "string" : "mystring"}'; $array = json_decode($json,true); foreach($array AS $key => $value) { echo $key . ": " . gettype($value) . "\n"; }
You have javascript disabled. You will not be able to edit any code.