Js Reduce Return Array Php Functions Tutorial