3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.02 ms | 1398 KiB | 15 Q