3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $number =5678; $flag = 0; $num = $number; while($num > 0){ if($num % 10 == 0){ $flag = 1; } $num = $num/10; } if($flag){ echo "contain zero"; }else{ echo "contain not zero"; }
Output for 4.3.0 - 7.1.0
contain zero