3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo vsprintf( "UPDATE %s SET %2s=REPLACE(%2s, %s, %s) WHERE %2s LIKE %s", array('table', 'field_name', '^from^', '^to^', '^from^') );
Output for 7.0.0 - 7.1.0
Warning: vsprintf(): Too few arguments in /in/WWTRB on line 5
Output for 4.3.2 - 5.6.28
Warning: vsprintf(): Too few arguments in /in/WWTRB on line 10
Output for 4.3.0 - 4.3.1
Warning: vsprintf() [http://www.php.net/function.vsprintf]: Too few arguments in /in/WWTRB on line 10