3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo vsprintf( "UPDATE %s SET %s=REPLACE(%s, %s, %s) WHERE %s LIKE %s", 'table', 'field_name', 'field_name', '^from^', '^to^' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1Sesq
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'vsprintf'
    4     1        SEND_VAL                                                 'UPDATE+%25s+SET+%25s%3DREPLACE%28%25s%2C+%25s%2C+%25s%29+WHERE+%25s+LIKE+%25s'
    5     2        SEND_VAL                                                 'table'
    6     3        SEND_VAL                                                 'field_name'
    7     4        SEND_VAL                                                 'field_name'
    8     5        SEND_VAL                                                 '%5Efrom%5E'
    9     6        SEND_VAL                                                 '%5Eto%5E'
          7        DO_ICALL                                         $0      
          8        ECHO                                                     $0
   10     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.38 ms | 1385 KiB | 15 Q