3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.35 ms | 1385 KiB | 15 Q