3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $sql="SELECT * FROM table_name WHERE username= '{$_SESSION['user']}'" ; echo $sql;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5Zfk8
function name:  (null)
number of ops:  8
compiled vars:  !0 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ROPE_INIT                                     3  ~4      'SELECT+%2A+FROM+table_name+WHERE+username%3D+%27'
          1        FETCH_R                      global              ~1      '_SESSION'
          2        FETCH_DIM_R                                      ~2      ~1, 'user'
          3        ROPE_ADD                                      1  ~4      ~4, ~2
          4        ROPE_END                                      2  ~3      ~4, '%27'
          5        ASSIGN                                                   !0, ~3
    6     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.57 ms | 1392 KiB | 13 Q