Why you may fail on PHP locale?

Doing simple inspection, but it is not working!

if (($value == " OR $value == 0) AND strstr("*",$arr[$key]))


In the first condition works, if you use double quotation marks for 0, and the second part of the condition do not work. What may not be so in a locale that such inexplicable glitches? Use vertrigoserv.
June 14th 19 at 18:27
1 answer
June 14th 19 at 18:29
Solution
Check the order of parameters strstr
check all the same. php.net/manual/ru/function.strstr.php - Giles_Luettgen18 commented on June 14th 19 at 18:32

Find more questions by tags Local serverPHP