3v4l.org

run code in 300+ PHP versions simultaneously
(<?php $GLOBALS = 0; if ($GLOBALS) { var_dump(1); } else { var_dump(0); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DXK4i
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%28'
    2     1        FETCH_W                      global              $0      'GLOBALS'
          2        ASSIGN                                                   $0, 0
    3     3        FETCH_R                      global              ~2      'GLOBALS'
          4      > JMPZ                                                     ~2, ->9
    4     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAL                                                 1
          7        DO_ICALL                                                 
          8      > JMP                                                      ->12
    6     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 0
         11        DO_ICALL                                                 
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.87 ms | 1394 KiB | 15 Q