-1
Have $valores = [0,1,3,4,5,30]
and I wanted to check if the number exists 30
.
Currently use strpos()
but he also checks the 0
and the 3
and I wanted only the 30
.
I’ve tried separating by commas, by quotation marks, it doesn’t work.
Is there any other way?