3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 77; $b = '77'; $test1 = $a['xxx']; // vysledkem je NULL $test2 = $b['xxx']; // vysledkem je warning
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HcJeb
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a, !1 = $b, !2 = $test1, !3 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 77
    4     1        ASSIGN                                                   !1, '77'
    6     2        FETCH_DIM_R                                      ~6      !0, 'xxx'
          3        ASSIGN                                                   !2, ~6
    7     4        FETCH_DIM_R                                      ~8      !1, 'xxx'
          5        ASSIGN                                                   !3, ~8
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.94 ms | 1392 KiB | 13 Q