3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['q'] = '\'; drop table `user`'; echo strtolower(htmlentities(urlencode(($_GET['q'])))); echo filter_input(INPUT_GET, 'q', FILTER_SANITIZE_STRING);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EQHIJ
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $0      '_GET'
          1        ASSIGN_DIM                                               $0, 'q'
          2        OP_DATA                                                  '%27%3B+drop+table+%60user%60'
    4     3        INIT_FCALL                                               'strtolower'
          4        INIT_FCALL                                               'htmlentities'
          5        INIT_FCALL                                               'urlencode'
          6        FETCH_R                      global              ~2      '_GET'
          7        FETCH_DIM_R                                      ~3      ~2, 'q'
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                         $6      
         14        ECHO                                                     $6
    6    15        INIT_FCALL                                               'filter_input'
         16        SEND_VAL                                                 1
         17        SEND_VAL                                                 'q'
         18        SEND_VAL                                                 513
         19        DO_ICALL                                         $7      
         20        ECHO                                                     $7
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.38 ms | 1395 KiB | 21 Q