3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matrix = array(); $matrix[1] = array( 0 => 65.70, 1 => 'Coles', 2 => '34 days', 3 => 14 ); $matstring=implode("','",$matrix[1]); $matstring="'".$matstring."'"; print "INSERT INTO Australia (`Price`, `Company`, `Days`, `Weight`) VALUES ($matstring)"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/23CqK
function name:  (null)
number of ops:  17
compiled vars:  !0 = $matrix, !1 = $matstring
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0, 1
          2        OP_DATA                                                  <array>
    5     3        INIT_FCALL                                               'implode'
          4        SEND_VAL                                                 '%27%2C%27'
          5        FETCH_DIM_R                                      ~4      !0, 1
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    6     9        CONCAT                                           ~7      '%27', !1
         10        CONCAT                                           ~8      ~7, '%27'
         11        ASSIGN                                                   !1, ~8
    7    12        ROPE_INIT                                     3  ~11     'INSERT+INTO+Australia+%28%60Price%60%2C+%60Company%60%2C+%60Days%60%2C+%60Weight%60%29+VALUES+%28'
         13        ROPE_ADD                                      1  ~11     ~11, !1
         14        ROPE_END                                      2  ~10     ~11, '%29'
         15        ECHO                                                     ~10
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.75 ms | 1394 KiB | 15 Q