3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a['lol'] = 'fuu' or '0'; print_r($a); $a = array('lol' => a*2 or '1'); print_r($a);
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 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/RE865
function name:  (null)
number of ops:  18
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                       ~2      !0, 'lol'
          2        OP_DATA                                                  'fuu'
          3      > JMPNZ_EX                                         ~2      ~2, ->5
          4    >   BOOL                                             ~2      '0'
    5     5    >   INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    7     8        FETCH_CONSTANT                                   ~4      'a'
          9        MUL                                              ~5      ~4, 2
         10      > JMPNZ_EX                                         ~5      ~5, ->12
         11    >   BOOL                                             ~5      '1'
         12    >   INIT_ARRAY                                       ~6      ~5, 'lol'
         13        ASSIGN                                                   !0, ~6
    8    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.39 ms | 1386 KiB | 15 Q