<?php $foo = []; $foo[1] = "hey"; $foo[0] = "lol"; echo json_encode($foo);
You have javascript disabled. You will not be able to edit any code.