3v4l.org

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