3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('membre', 'id', 'valeur'); $value = array(); for($i = count($array) - 1; $i > 0; $i--) { $value = $array[$i]; $value[$array[$i-1]] = $value; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 6
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 6
Branch analysis from position: 16
Branch analysis from position: 6
filename:       /in/2GrkH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $array, !1 = $value, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        COUNT                                            ~5      !0
          3        SUB                                              ~6      ~5, 1
          4        ASSIGN                                                   !2, ~6
          5      > JMP                                                      ->14
    5     6    >   FETCH_DIM_R                                      ~8      !0, !2
          7        ASSIGN                                                   !1, ~8
    6     8        SUB                                              ~10     !2, 1
          9        FETCH_DIM_R                                      ~11     !0, ~10
         10        QM_ASSIGN                                        ~13     !1
         11        ASSIGN_DIM                                               !1, ~11
         12        OP_DATA                                                  ~13
    4    13        PRE_DEC                                                  !2
         14    >   IS_SMALLER                                               0, !2
         15      > JMPNZ                                                    ~15, ->6
    7    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.87 ms | 934 KiB | 14 Q