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