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 no is:'; echo $rev; ?>
based on 3bBmJ
Output for 4.3.0 - 7.1.0

Process exited with code 137.