3v4l.org

run code in 300+ PHP versions simultaneously
<?php $first = array(foo => 123, bar => 456); var_dump($first); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uC94R
function name:  (null)
number of ops:  9
compiled vars:  !0 = $first
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~1      'foo'
          1        INIT_ARRAY                                       ~2      123, ~1
          2        FETCH_CONSTANT                                   ~3      'bar'
          3        ADD_ARRAY_ELEMENT                                ~2      456, ~3
          4        ASSIGN                                                   !0, ~2
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    7     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.98 ms | 1394 KiB | 15 Q