3v4l.org

run code in 300+ PHP versions simultaneously
<?php $table = 'tabelle'; $tableSuffix = 'suffix'; $string = " SELECT id FROM " . $table . "_ext 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/k4XJu
function name:  (null)
number of ops:  13
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, '_ext%0A%09%09%09WHERE%0A%09%09%09%09sourceId%09%3D%09%27'
   12     4        CONCAT                                           ~7      ~6, '12345'
          5        CONCAT                                           ~8      ~7, '%27+AND%0A%09%09%09%09targetId%09%3D%09%27'
   13     6        CONCAT                                           ~9      ~8, '54321'
          7        CONCAT                                           ~10     ~9, '%27%0A%09%09%09%09'
   14     8        CONCAT                                           ~11     ~10, 'STATEMENT'
          9        CONCAT                                           ~12     ~11, '%0A%09%09%09LIMIT%0A%09%09%09%091%0A%09%09'
    6    10        ASSIGN                                                   !2, ~12
   19    11        ECHO                                                     !2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.67 ms | 1392 KiB | 13 Q