3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $BASE = 62; $num = '11112887'; echo base_convert($num,10,62);
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: base_convert(): Invalid `to base' (62) in /in/cFiof on line 5
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: Invalid tobase: 62 in /in/cFiof on line 5
Output for 4.3.0 - 4.3.1
Warning: base_convert() [http://www.php.net/function.base-convert]: Invalid `to base' (62) in /in/cFiof on line 5