Php For Loop Array Size In Js How Take