3v4l.org

run code in 300+ PHP versions simultaneously
<?php $table = 'tabelle'; $tableSuffix = 'suffix'; $string = " SELECT id FROM " . $table . $tableSuffix . " WHERE sourceId = '" . '12345' . "' AND targetId = '" . '54321' . "' " . 'STATEMENT' . " LIMIT 1 "; echo $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b8JuW
function name:  (null)
number of ops:  14
compiled vars:  !0 = $table, !1 = $tableSuffix, !2 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'tabelle'
    4     1        ASSIGN                                                   !1, 'suffix'
   10     2        CONCAT                                           ~5      '%0A%09%09%09SELECT%0A%09%09%09%09id%0A%09%09%09FROM%0A%09%09%09%09', !0
          3        CONCAT                                           ~6      ~5, !1
          4        CONCAT                                           ~7      ~6, '%0A%09%09%09WHERE%0A%09%09%09%09sourceId%09%3D%09%27'
   12     5        CONCAT                                           ~8      ~7, '12345'
          6        CONCAT                                           ~9      ~8, '%27+AND%0A%09%09%09%09targetId%09%3D%09%27'
   13     7        CONCAT                                           ~10     ~9, '54321'
          8        CONCAT                                           ~11     ~10, '%27%0A%09%09%09%09'
   14     9        CONCAT                                           ~12     ~11, 'STATEMENT'
         10        CONCAT                                           ~13     ~12, '%0A%09%09%09LIMIT%0A%09%09%09%091%0A%09%09'
    6    11        ASSIGN                                                   !2, ~13
   19    12        ECHO                                                     !2
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.98 ms | 1393 KiB | 13 Q