Change NaN, INF values to 0 in php Array

前端 未结 0 921
悲&欢浪女
悲&欢浪女 2020-12-01 17:03

So I have an array in Php where I have the following values respectively.

$arr = [1,2,0,0,5,6,7,8,9,10,7,5,7,6,4,7,4,6,4,7,1,15,35];

So when

相关标签:
回答
  • 消灭零回复
提交回复
热议问题