3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo vsprintf( "UPDATE %s SET %s=REPLACE(%s, %s, %s) WHERE %s LIKE %s", 'table', 'field_name', 'field_name', '^from^', '^to^' );
Output for 7.0.0 - 7.1.0
Warning: Wrong parameter count for vsprintf() in /in/1Sesq on line 9
Output for 4.3.0 - 5.6.28
Warning: Wrong parameter count for vsprintf() in /in/1Sesq on line 10