3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function info() { $data = func_get_args(); $format = array_shift($data); $message = vsprintf($format, $data); echo $message; } info('20% off');
Output for 4.3.2 - 7.2.0
Warning: vsprintf(): Too few arguments in /in/vTqMv on line 5
Output for 4.3.0 - 4.3.1
Warning: vsprintf() [http://www.php.net/function.vsprintf]: Too few arguments in /in/vTqMv on line 5