$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.