3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n=3618;$rev=0; while($n!=0) { $rem=$n%2; $rev=$rev*10+$rem; $n=$n/1; } echo "reverse of $n is:$rev"; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0

Process exited with code 137.
Output for hhvm-3.10.0

Process exited with code 153.