3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
207.41 ms | 1000 KiB | 14 Q