3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php printf('%1s B %1$s.xsd', 'A');
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
A B A.xsd
Output for 4.3.2 - 4.3.10, 5.0.0 - 5.0.3
Warning: printf(): Too few arguments in /in/Mpjnu on line 2
Output for 4.3.0 - 4.3.1
Warning: printf() [http://www.php.net/function.printf]: Too few arguments in /in/Mpjnu on line 2