报告可以安全替换为
in_array()
或
array_key_exists()
调用的
foreach
循环。
有关详细信息,请参阅
in_array (php.net)
和
array_key_exists (php.net)
。