3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = time(); $l = 10; foreach(array(2,8,10,16) as $base) echo str_pad(base_convert($t, 10, $base), $l).' ';
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1010001010000000100001011101011 12120041353 1363165931 514042eb