3v4l.org

run code in 500+ PHP versions simultaneously
<?php $naam = 'Gilbert'; $gebrnaam = strtolower(trim($naam)); $sql = "SELECT * FROM leden WHERE gebruikersnaam = '" . $gebrnaam . "'"; echo $sql;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3J5VW
function name:  (null)
number of ops:  11
compiled vars:  !0 = $naam, !1 = $gebrnaam, !2 = $sql
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'Gilbert'
    3     1        INIT_FCALL                                                   'strtolower'
          2        FRAMELESS_ICALL_1                trim                ~4      !0
          3        SEND_VAL                                                     ~4
          4        DO_ICALL                                             $5      
          5        ASSIGN                                                       !1, $5
    4     6        CONCAT                                               ~7      'SELECT+%2A+FROM+leden+WHERE+gebruikersnaam+%3D+%27', !1
          7        CONCAT                                               ~8      ~7, '%27'
          8        ASSIGN                                                       !2, ~8
    5     9        ECHO                                                         !2
    6    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.93 ms | 2188 KiB | 14 Q