fork(3) download
  1. <?php
  2.  
  3. $obj = json_decode('{"id":1,"Name":"Mike"}');
  4. var_dump($obj);
  5. echo $obj->Name;
  6.  
  7. ?>
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
object(stdClass)#1 (2) {
  ["id"]=>
  int(1)
  ["Name"]=>
  string(4) "Mike"
}
Mike