A JSON_FORCE_OBJECT option can be used if you want the array to be output as an object instead: <?php echo json_encode($ar, JSON_FORCE_OBJECT); ...
確定! 回上一頁