replace Lambda.indeOf with array.indexOf, fixed infinity loop in PHP target