3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_default_value = 42; $array_null = []; $array_null = null; $result_value = (@$array_null['cokoliv'] || $array_default_value); echo $result_value;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/Ub5ov
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array_default_value, !1 = $array_null, !2 = $result_value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 42
    5     1        ASSIGN                                                   !1, <array>
    6     2        ASSIGN                                                   !1, null
    8     3        BEGIN_SILENCE                                    ~6      
          4        FETCH_DIM_R                                      ~7      !1, 'cokoliv'
          5        END_SILENCE                                              ~6
          6      > JMPNZ_EX                                         ~7      ~7, ->8
          7    >   BOOL                                             ~7      !0
          8    >   ASSIGN                                                   !2, ~7
   10     9        ECHO                                                     !2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.83 ms | 1397 KiB | 13 Q