3v4l.org

run code in 300+ PHP versions simultaneously
<?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 git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.58 ms | 401 KiB | 8 Q