3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function cypher($number) { $cyphers = explode($number); $result = 1; foreach ($cyphers as $cypher) $result *= $cypher; return $result; } for ($i = 0; $i >= 100000000; $i++) { echo $i; $number = $i; for ($j = 1; $j <= 5; $j++) { $number = cypher($number); if (strlen($number) == 1) { if ($j == 5) echo $number; else break; } } }
Output for 4.3.0 - 7.1.0