3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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"); } }
Output for 4.3.0 - 7.1.0
inside else inside else inside else inside if inside else inside else inside if inside if inside if inside if