3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_export(sprintf("%1.1s%20.20s", '0', 'abcdefg'));
based on t1m2A
Output for 4.3.0 - 7.1.0
'0 abcdefg'