3v4l.org

run code in 300+ PHP versions simultaneously
<?php // your code goes here $myString = '6'; $output = sprintf("insert into currency (id, name, symbol) values ('%s', 'CHF', 'CHF')", $myString); echo $output;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LOTmL
function name:  (null)
number of ops:  8
compiled vars:  !0 = $myString, !1 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '6'
    5     1        INIT_FCALL                                               'sprintf'
          2        SEND_VAL                                                 'insert+into+currency+%28id%2C+name%2C+symbol%29+values+%28%27%25s%27%2C+%27CHF%27%2C+%27CHF%27%29'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        ECHO                                                     !1
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.11 ms | 939 KiB | 16 Q