3v4l.org

run code in 500+ PHP versions simultaneously
<?php $globals = $GLOBALS; reset($globals); foreach ($globals as $k => $v) { $GLOB[$k] = $v; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/9nEUJ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $globals, !1 = $v, !2 = $k, !3 = $GLOB
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   FETCH_GLOBALS                                        ~4      
          1        ASSIGN                                                       !0, ~4
    3     2        INIT_FCALL                                                   'reset'
          3        SEND_REF                                                     !0
          4        DO_ICALL                                                     
    4     5      > FE_RESET_R                                           $7      !0, ->11
          6    > > FE_FETCH_R                                           ~8      $7, !1, ->11
          7    >   ASSIGN                                                       !2, ~8
          8        ASSIGN_DIM                                                   !3, !2
          9        OP_DATA                                                      !1
         10      > JMP                                                          ->6
         11    >   FE_FREE                                                      $7
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.72 ms | 1850 KiB | 14 Q