3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = time(); $l = 10; foreach(array(2,8,10,16,24) as $base) echo str_pad($base, 2).' '.str_pad(base_convert($t, 10, $base), $l)."\n";
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2 1010001010000000100001100111100 8 12120041474 10 1363166012 16 5140433c 24 734gffk