3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if ( ! defined('PHP_EOL')) { define('PHP_EOL', "\n"); } foreach (array('67585', '489382995463342') as $test) { echo str_pad($test, 20, '0', STR_PAD_LEFT), PHP_EOL; }
Output for 4.3.0 - 7.1.0
00000000000000067585 00000489382995463342