3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['test']['lol'] = "hallo"; $var = filter_input(INPUT_GET, 'test', FILTER_SANITIZE_STRING); var_export($var); var_export($_GET);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kB6A4
function name:  (null)
number of ops:  18
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_GET'
          1        FETCH_DIM_W                                      $2      $1, 'test'
          2        ASSIGN_DIM                                               $2, 'lol'
          3        OP_DATA                                                  'hallo'
    5     4        INIT_FCALL                                               'filter_input'
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 'test'
          7        SEND_VAL                                                 513
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
    6    10        INIT_FCALL                                               'var_export'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    7    13        INIT_FCALL                                               'var_export'
         14        FETCH_R                      global              ~7      '_GET'
         15        SEND_VAL                                                 ~7
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.52 ms | 1394 KiB | 17 Q