<?php echo json_encode(); ?>を使用することでphpの配列をjavascriptで扱うことができるようになる updated: 2025/12/19 created: 2025/12/19