3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(); $array[0] = "blue" or "red" or "green" or "brown"; print_r($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 4, Position 2 = 5
Branch analysis from position: 4
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 7
Branch analysis from position: 6
2 jumps found. (Code = 47) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 7
Branch analysis from position: 5
filename:       /in/tXuol
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                       ~2      !0, 0
          2        OP_DATA                                                  'blue'
          3      > JMPNZ_EX                                         ~2      ~2, ->5
          4    >   BOOL                                             ~2      'red'
          5    > > JMPNZ_EX                                         ~2      ~2, ->7
          6    >   BOOL                                             ~2      'green'
          7    > > JMPNZ_EX                                         ~2      ~2, ->9
          8    >   BOOL                                             ~2      'brown'
    5     9    >   INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.06 ms | 1394 KiB | 15 Q