$bad_json = '{ bar: "baz", }'; json_decode($bad_json); // null ?> Example #4 depth errors. <?php // Encode the data. $json = json_encode( array( 1 => array(
確定! 回上一頁