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