<?php $arr = [1=>"a",3=>'b']; $result = json_encode($arr).toString(); echo $result; ?>
You have javascript disabled. You will not be able to edit any code.