3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.43 ms | 1394 KiB | 21 Q