3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.46 ms | 1435 KiB | 14 Q