echo preg_match("/\b(בדיקה|מילה)\b/iu", "זוהי בדיקה");
For some reason, this code returns 1 on several servers I've tested it on, but 0 on one specific server.
PCRE is compiled with UTF-8 support and Unicode properties support. What could be the issue?