3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = '3'; $arr = []; $arr[$id] = 'Пиздос'; var_dump(array_key_exists($id, $arr)); var_dump($arr[$id]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vEmJE
function name:  (null)
number of ops:  13
compiled vars:  !0 = $id, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '3'
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN_DIM                                               !1, !0
          3        OP_DATA                                                  '%D0%9F%D0%B8%D0%B7%D0%B4%D0%BE%D1%81'
    5     4        INIT_FCALL                                               'var_dump'
          5        ARRAY_KEY_EXISTS                                 ~5      !0, !1
          6        SEND_VAL                                                 ~5
          7        DO_ICALL                                                 
    6     8        INIT_FCALL                                               'var_dump'
          9        FETCH_DIM_R                                      ~7      !1, !0
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.16 ms | 1385 KiB | 15 Q