3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['a', 'b']; var_dump(count($a['c'])); var_dump(empty($a['c'])); var_dump(isset($a['c']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6lKFn
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        FETCH_DIM_R                                      ~2      !0, 'c'
          3        COUNT                                            ~3      ~2
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        ISSET_ISEMPTY_DIM_OBJ                         1  ~5      !0, 'c'
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
    6    10        INIT_FCALL                                               'var_dump'
         11        ISSET_ISEMPTY_DIM_OBJ                         0  ~7      !0, 'c'
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1398 KiB | 15 Q