3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.34 ms | 1394 KiB | 15 Q