3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $a = array(); var_dump(!empty($a['bla']['ble']['bli'])); var_dump(!$a['bla']['ble']['bli']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WDn5Y
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
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, <array>
    6     4        INIT_FCALL                                               'var_dump'
          5        FETCH_DIM_IS                                     ~3      !0, 'bla'
          6        FETCH_DIM_IS                                     ~4      ~3, 'ble'
          7        ISSET_ISEMPTY_DIM_OBJ                         1  ~5      ~4, 'bli'
          8        BOOL_NOT                                         ~6      ~5
          9        SEND_VAL                                                 ~6
         10        DO_ICALL                                                 
    8    11        INIT_FCALL                                               'var_dump'
         12        FETCH_DIM_R                                      ~8      !0, 'bla'
         13        FETCH_DIM_R                                      ~9      ~8, 'ble'
         14        FETCH_DIM_R                                      ~10     ~9, 'bli'
         15        BOOL_NOT                                         ~11     ~10
         16        SEND_VAL                                                 ~11
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.83 ms | 1394 KiB | 17 Q