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", array('table', 'field_name', 'field_name', '^from^', '^to^') );
Output for 7.0.0 - 7.1.0
Warning: vsprintf(): Too few arguments in /in/uRGe9 on line 5
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid argument: arguments: (too few) in /in/uRGe9 on line 10
Output for 4.3.2 - 5.6.28
Warning: vsprintf(): Too few arguments in /in/uRGe9 on line 10
Output for 4.3.0 - 4.3.1
Warning: vsprintf() [http://www.php.net/function.vsprintf]: Too few arguments in /in/uRGe9 on line 10