3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'q' => 'qwe' ]; var_dump(key_exists('z', $arr) && $arr['z'] === 'qwe');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/dOECG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'key_exists'
          3        SEND_VAL                                                 'z'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6      > JMPZ_EX                                          ~3      $2, ->10
          7    >   FETCH_DIM_R                                      ~4      !0, 'z'
          8        IS_IDENTICAL                                     ~5      ~4, 'qwe'
          9        BOOL                                             ~3      ~5
         10    >   SEND_VAL                                                 ~3
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.98 ms | 1394 KiB | 17 Q