3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = [1, 2, 9, 4, 0, 6, 1]; $ret = 1; foreach($array as $item){ $ret *= $item; } echo $ret;
based on 8DPCG
Output for 5.6.38 - 7.3.0rc3
0