PHP 5.2.0以降であれば、json_encode()で簡単にJSON形式のデータを生成できます。 ... echo json_encode( TRUE ); // true echo json_encode( NULL ); // null echo ...
確定! 回上一頁