3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($i = 10000; $i <= 99999; $i++) { $b = str_split($i); $c = (($b[0]+$b[1]+$b[2]+$b[3]+$b[4])%$i); if($c==0){ echo (($b[0]+$b[1]+$b[2]+$b[3]+$b[4])/$i); } else { echo $i.":".$c." "; } }