3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $GLOBALS = 'miauw'; $_SERVER = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55]; function miauw() { var_dump($_SERVER, $GLOBALS, $GLOBALS['_SERVER']); } miauw();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eIYEb
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        FETCH_W                      global              $1      'GLOBALS'
          4        ASSIGN                                                   $1, 'miauw'
    7     5        FETCH_W                      global              $3      '_SERVER'
          6        ASSIGN                                                   $3, <array>
   13     7        INIT_FCALL                                               'miauw'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function miauw:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eIYEb
function name:  miauw
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_R                      global              ~0      '_SERVER'
          2        SEND_VAL                                                 ~0
          3        FETCH_R                      global              ~1      'GLOBALS'
          4        SEND_VAL                                                 ~1
          5        FETCH_R                      global              ~2      'GLOBALS'
          6        FETCH_DIM_R                                      ~3      ~2, '_SERVER'
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
   11     9      > RETURN                                                   null

End of function miauw

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.15 ms | 1397 KiB | 18 Q