Php Find Index Of Value In Array Js Practice And Solving