3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = base_convert('onlafspr', 36,10); $y1 = $x - 1; $y2 = $x - 2; $y3 = $x - 12345; echo base_convert($y1, 10, 36 )." \n"; echo base_convert($y2, 10, 36 )." \n"; echo base_convert($y3, 10, 36 )." \n";
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
onlafspq onlafspp onlafj6u