This question already has an answer here:
- php index of item 3 answers
$solutionsMap = [];
$score = 655536;
in js I have
if(solutionsMap.indexOf(score) === -1)
.
I need an equivalent in php for solutionsMap.indexOf(score) === -1
. I tried array_search(), strpos(), but with errors.
I searched before this question, but I still got errors.
</div>