3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'q' => 'qwe' ]; var_dump(key_exists($arr['z']) && $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/TobmC
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        FETCH_DIM_R                                      ~2      !0, 'z'
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6      > JMPZ_EX                                          ~4      $3, ->10
          7    >   FETCH_DIM_R                                      ~5      !0, 'z'
          8        IS_IDENTICAL                                     ~6      ~5, 'qwe'
          9        BOOL                                             ~4      ~6
         10    >   SEND_VAL                                                 ~4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.78 ms | 1398 KiB | 17 Q