3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.5 ms | 1394 KiB | 15 Q