3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s = '$1%s_$2%s'; echo sprintf($s, 1);
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: sprintf(): Too few arguments in /in/qW2Q7 on line 3
Output for hhvm-3.10.0 - 3.13.2
Warning: Invalid argument: arguments: (too few) in /in/qW2Q7 on line 3
Output for 4.3.0 - 4.3.1
Warning: sprintf() [http://www.php.net/function.sprintf]: Too few arguments in /in/qW2Q7 on line 3