3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $arr=null; $val=$arr['klsjb']; if (isset($val)) echo "value exists\n"; print_r($val);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/2L2jU
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr, !1 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, null
    4     4        FETCH_DIM_R                                      ~4      !0, 'klsjb'
          5        ASSIGN                                                   !1, ~4
    5     6        ISSET_ISEMPTY_CV                                         !1
          7      > JMPZ                                                     ~6, ->9
          8    >   ECHO                                                     'value+exists%0A'
    6     9    >   INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.59 ms | 1385 KiB | 17 Q