php multipile if conditions if vs multipile elseif code example Example: php multi condition if if($var == "abc" || $var == "def" || ...) { echo "true"; }