3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array(); $x[] = 'Some Value'; $x[] = 'Another value'; var_dump($x); $x = array(); $x['name'] = 'Anil'; $x['other name'] = 'Del Boy'; var_dump($x); $x = array( 'Name' => 'Batman', 'Status' => 'Busy', 'etc' => 'etc', ); var_dump($x);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LCjtY
function name:  (null)
number of ops:  21
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  'Some+Value'
    6     3        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  'Another+value'
    8     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
   10     8        ASSIGN                                                   !0, <array>
   12     9        ASSIGN_DIM                                               !0, 'name'
         10        OP_DATA                                                  'Anil'
   13    11        ASSIGN_DIM                                               !0, 'other+name'
         12        OP_DATA                                                  'Del+Boy'
   15    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
   17    16        ASSIGN                                                   !0, <array>
   23    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.72 ms | 1010 KiB | 14 Q