3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo base_convert(sha1(uniqid(mt_rand(), true)), 0, 36);
based on h5sac
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: base_convert(): Invalid `from base' (0) in /in/7FSbE on line 2
Output for hhvm-3.12.0
Warning: Invalid argument: Invalid frombase: 0 in /in/7FSbE on line 2
Output for hhvm-3.10.0
Warning: Invalid argument: Invalid frombase: 0 in /in/7FSbE on line -1
Output for 4.3.0 - 4.3.1
Warning: base_convert() [http://www.php.net/function.base-convert]: Invalid `from base' (0) in /in/7FSbE on line 2