3v4l.org

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

Function miauw:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P2A87
function name:  miauw
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     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        DO_ICALL                                                 
    9     6      > RETURN                                                   null

End of function miauw

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.97 ms | 1388 KiB | 16 Q