3v4l.org

run code in 300+ PHP versions simultaneously
<?php $q_key = array('a', 'b', 'c'); $q_value = array('d', 'e', 'f'); $q = "INSERT INTO `form_content_element_tweak` (".implode(',', $q_key).") VALUES(".implode(",", $q_value).")"; echo $q;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pc8M2
function name:  (null)
number of ops:  17
compiled vars:  !0 = $q_key, !1 = $q_value, !2 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'implode'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        CONCAT                                           ~6      'INSERT+INTO+%60form_content_element_tweak%60+%28', $5
          7        CONCAT                                           ~7      ~6, '%29+VALUES%28'
          8        INIT_FCALL                                               'implode'
          9        SEND_VAL                                                 '%2C'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $8      
         12        CONCAT                                           ~9      ~7, $8
         13        CONCAT                                           ~10     ~9, '%29'
         14        ASSIGN                                                   !2, ~10
    5    15        ECHO                                                     !2
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.79 ms | 1386 KiB | 15 Q