3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SERVER['REQUEST_TIME_FLOAT'] = 1359377632.3181; $_SERVER['REQUEST_TIME'] = 1359377632; var_dump(serialize($GLOBALS)); var_dump(serialize(array('GLOBALS' => $GLOBALS))); var_dump(serialize(array('GLOBALS' => array('GLOBALS' => $GLOBALS))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M1YRf
function name:  (null)
number of ops:  31
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_W                      global              $0      '_SERVER'
          1        ASSIGN_DIM                                               $0, 'REQUEST_TIME_FLOAT'
          2        OP_DATA                                                  1.35938e+9
    3     3        FETCH_W                      global              $2      '_SERVER'
          4        ASSIGN_DIM                                               $2, 'REQUEST_TIME'
          5        OP_DATA                                                  1359377632
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'serialize'
          8        FETCH_R                      global              ~4      'GLOBALS'
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                                 
    5    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'serialize'
         15        FETCH_R                      global              ~7      'GLOBALS'
         16        INIT_ARRAY                                       ~8      ~7, 'GLOBALS'
         17        SEND_VAL                                                 ~8
         18        DO_ICALL                                         $9      
         19        SEND_VAR                                                 $9
         20        DO_ICALL                                                 
    6    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'serialize'
         23        FETCH_R                      global              ~11     'GLOBALS'
         24        INIT_ARRAY                                       ~12     ~11, 'GLOBALS'
         25        INIT_ARRAY                                       ~13     ~12, 'GLOBALS'
         26        SEND_VAL                                                 ~13
         27        DO_ICALL                                         $14     
         28        SEND_VAR                                                 $14
         29        DO_ICALL                                                 
         30      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.77 ms | 1395 KiB | 17 Q