<?php $arr = array( '4' => 1, '3' => 2, '2' => '3', '1' => '4', ); $str = json_encode($arr);
You have javascript disabled. You will not be able to edit any code.