3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['test']['lol'] = "hallo"; $var = filter_input(INPUT_GET, 'test', FILTER_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/RUHIh
function name:  (null)
number of ops:  19
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        FETCH_CONSTANT                                   ~4      'FILTER_STRING'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !0, $5
    6    11        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
    7    14        INIT_FCALL                                               'var_export'
         15        FETCH_R                      global              ~8      '_GET'
         16        SEND_VAL                                                 ~8
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.09 ms | 1399 KiB | 17 Q