3v4l.org

run code in 300+ PHP versions simultaneously
<?php $multipliers = array(0, 0.5, 0.999999, 1, 1.1, 1.2, 2, 3, 4, 10); foreach($multipliers as $multiplier) { if(isset($multiplier) && $multiplier >= 1 && gettype($multiplier) == 'integer') { error_log("inside if"); } else { error_log("inside else"); } }

preferences:
42.05 ms | 402 KiB | 5 Q