3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('a' => null); print '=========\n'; print_r(isset($a['a'])); print '=========]n'; print_r(array_key_exists('a', $a)); print '=========\n';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Mkm1
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%5Cn'
    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%5Dn'
    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%5Cn'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.35 ms | 1394 KiB | 15 Q