Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$values = array('0', 1, 2); if (in_array($values2, $values, false) || $values2 == 0) {
Values2 は送信された値で、この場合は 3 でした。3 は配列にないため、if 条件を実行する必要はありませんか?