3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('abcd', 'df43', 'asdfsa'); echo (Int)$a[1]; foreach ($a as $val) { if ($val == '' || $val == false) { echo "$val".PHP_EOL; } }
based on OkJtc
Output for 4.3.0 - 7.2.0
0