3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $discount = 33; $sale_end = 2014-01-30; echo sprintf('%d % OFF Ends %s', $discount, $sale_end);
Output for 5.2.3 - 7.1.0
Warning: sprintf(): Too few arguments in /in/hRLT3 on line 5
Output for 4.4.3 - 5.2.2
<br /> <b>Warning</b>: sprintf() [<a href='function.sprintf'>function.sprintf</a>]: Too few arguments in <b>/in/hRLT3</b> on line <b>5</b><br />
Output for 4.3.2 - 4.4.2
<br /> <b>Warning</b>: sprintf(): Too few arguments in <b>/in/hRLT3</b> on line <b>5</b><br />
Output for 4.3.0 - 4.3.1
<br /> <b>Warning</b>: sprintf() [<a href='http://www.php.net/function.sprintf'>function.sprintf</a>]: Too few arguments in <b>/in/hRLT3</b> on line <b>5</b><br />