3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $items = array(); array_push($items, "T-shirt", "Bob Jacket", "Grizzly Grip"); if(array_key_exists("T-shirt", $items)) { print_r($items); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/S2lZH
function name:  (null)
number of ops:  13
compiled vars:  !0 = $items
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL                                               'array_push'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 'T-shirt'
          4        SEND_VAL                                                 'Bob+Jacket'
          5        SEND_VAL                                                 'Grizzly+Grip'
          6        DO_ICALL                                                 
    7     7        ARRAY_KEY_EXISTS                                         'T-shirt', !0
          8      > JMPZ                                                     ~3, ->12
    8     9    >   INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.02 ms | 1398 KiB | 17 Q