3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sql = "SELECT * FROM dbase WHERE firstname = '" . $a[0] . "' AND currentbalance = '" . trim($a[1]) . "' AND zip = '" . a[2] . "'"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JK3NM
function name:  (null)
number of ops:  15
compiled vars:  !0 = $sql, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_R                                      ~2      !1, 0
          1        CONCAT                                           ~3      'SELECT+%2A+FROM+dbase+WHERE+firstname+%3D+%27', ~2
          2        CONCAT                                           ~4      ~3, '%27+AND+currentbalance+%3D+%27'
          3        INIT_FCALL                                               'trim'
          4        FETCH_DIM_R                                      ~5      !1, 1
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                         $6      
          7        CONCAT                                           ~7      ~4, $6
          8        CONCAT                                           ~8      ~7, '%27+AND+zip+%3D+%27'
          9        FETCH_CONSTANT                                   ~9      'a'
         10        FETCH_DIM_R                                      ~10     ~9, 2
         11        CONCAT                                           ~11     ~8, ~10
         12        CONCAT                                           ~12     ~11, '%27'
         13        ASSIGN                                                   !0, ~12
    3    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.1 ms | 1394 KiB | 15 Q