3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $weight=6; $threshold=array('3.00'); var_dump($threshold); if(!empty($weight) && $weight >= $threshold && $threshold[0] !== NULL ){ echo("hola"); } else { echo("bye"); }
based on iBcOd
Output for 5.3.20 - 7.2.6
array(1) { [0]=> string(4) "3.00" } bye