3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.35 ms | 1394 KiB | 15 Q