3v4l.org

run code in 300+ PHP versions simultaneously
<?php $state["Delaware"] = "December 7, 1787"; $state["Pennsylvania"] = "December 12, 1787"; $state["Ohio"] = "March 1, 1803"; if (array_key_exists("Ohio", $state)) echo "Ohio joined the Union on $state[Ohio]"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/CnCmt
function name:  (null)
number of ops:  13
compiled vars:  !0 = $state
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'Delaware'
          1        OP_DATA                                                  'December+7%2C+1787'
    3     2        ASSIGN_DIM                                               !0, 'Pennsylvania'
          3        OP_DATA                                                  'December+12%2C+1787'
    4     4        ASSIGN_DIM                                               !0, 'Ohio'
          5        OP_DATA                                                  'March+1%2C+1803'
    5     6        ARRAY_KEY_EXISTS                                         'Ohio', !0
          7      > JMPZ                                                     ~4, ->12
          8    >   NOP                                                      
          9        FETCH_DIM_R                                      ~5      !0, 'Ohio'
         10        FAST_CONCAT                                      ~6      'Ohio+joined+the+Union+on+', ~5
         11        ECHO                                                     ~6
    6    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.64 ms | 1392 KiB | 13 Q