<?php $json = '{"myint": 1, "mystring" : "mystring", "myintwithquotes":"2"}'; $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.