3v4l.org

run code in 300+ PHP versions simultaneously
<?php $version = []; $version['1.1.0.0'] = ['history' => 'Menu rendering now supports Custom Objects']; $version['1.2.0.0'] = ['history' => 'Currency Management and Grid Improvements']; $version['1.2.1.0'] = ['history' => 'Add new extension type for enhance sub menu features']; $version['1.3.0.0'] = ['history' => 'Notification System extended + Request new password by Email']; //var_dump($version); $version = []; $version[] = ['major' => 'history1']; $version[] = ['minor' => 'history2']; $version[] = ['patch' => 'history3']; $version[] = ['build' => 'history4']; var_dump($version);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VvX9f
function name:  (null)
number of ops:  22
compiled vars:  !0 = $version
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0, '1.1.0.0'
          2        OP_DATA                                                  <array>
    6     3        ASSIGN_DIM                                               !0, '1.2.0.0'
          4        OP_DATA                                                  <array>
    7     5        ASSIGN_DIM                                               !0, '1.2.1.0'
          6        OP_DATA                                                  <array>
    8     7        ASSIGN_DIM                                               !0, '1.3.0.0'
          8        OP_DATA                                                  <array>
   14     9        ASSIGN                                                   !0, <array>
   15    10        ASSIGN_DIM                                               !0
         11        OP_DATA                                                  <array>
   16    12        ASSIGN_DIM                                               !0
         13        OP_DATA                                                  <array>
   17    14        ASSIGN_DIM                                               !0
         15        OP_DATA                                                  <array>
   18    16        ASSIGN_DIM                                               !0
         17        OP_DATA                                                  <array>
   21    18        INIT_FCALL                                               'var_dump'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.12 ms | 1395 KiB | 15 Q