3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array(); $t['aa']['b'] = 'aaa'; print (isset($t['aa']['b'])); print (isset($t['aa']['bb'])); print (null == $t['aa']['b']); print (null == $t['aa']['bb']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9e3oZ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_W                                      $2      !0, 'aa'
          2        ASSIGN_DIM                                               $2, 'b'
          3        OP_DATA                                                  'aaa'
    6     4        FETCH_DIM_IS                                     ~4      !0, 'aa'
          5        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      ~4, 'b'
          6        ECHO                                                     ~5
    7     7        FETCH_DIM_IS                                     ~6      !0, 'aa'
          8        ISSET_ISEMPTY_DIM_OBJ                         0  ~7      ~6, 'bb'
          9        ECHO                                                     ~7
    8    10        FETCH_DIM_R                                      ~8      !0, 'aa'
         11        FETCH_DIM_R                                      ~9      ~8, 'b'
         12        IS_EQUAL                                         ~10     ~9, null
         13        ECHO                                                     ~10
    9    14        FETCH_DIM_R                                      ~11     !0, 'aa'
         15        FETCH_DIM_R                                      ~12     ~11, 'bb'
         16        IS_EQUAL                                         ~13     ~12, null
         17        ECHO                                                     ~13
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.33 ms | 1393 KiB | 13 Q