3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php foreach (array('67585', '489382995463342') as $test) { echo str_pad($test, 20, '0', STR_PAD_LEFT), PHP_EOL; }
Output for 4.3.10 - 4.4.9, 5.0.2 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
00000000000000067585 00000489382995463342
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
00000000000000067585 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CXfVm on line 3 PHP_EOL00000489382995463342 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/CXfVm on line 3 PHP_EOL