3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); print_r(get_defined_vars()); print_r($_SERVER);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KOWCh
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, <array>
    2     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'get_defined_vars'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'print_r'
          7        FETCH_R                      global              ~4      '_SERVER'
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.14 ms | 1394 KiB | 17 Q