3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mainArr = array( array('PVTHR05L006', 'PVTHR05L004', 'PVTS1K05L004'), array('PVTHR05L004'), array('PVTHR05L006', 'PVTHR05L004', 'PVTSK05L008'), ); $arr_name = 'array'; $incre = 1; foreach($mainArr as $arr){ ${$arr_name.$incre} = $arr; $incre++; } print_r($array2);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
2 jumps found. (Code = 78) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/PBDsj
function name:  (null)
number of ops:  15
compiled vars:  !0 = $mainArr, !1 = $arr_name, !2 = $incre, !3 = $arr, !4 = $array2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    8     1        ASSIGN                                                   !1, 'array'
    9     2        ASSIGN                                                   !2, 1
   10     3      > FE_RESET_R                                       $8      !0, ->10
          4    > > FE_FETCH_R                                               $8, !3, ->10
   11     5    >   CONCAT                                           ~9      !1, !2
          6        FETCH_W                      local               $10     ~9
          7        ASSIGN                                                   $10, !3
   12     8        PRE_INC                                                  !2
   10     9      > JMP                                                      ->4
         10    >   FE_FREE                                                  $8
   15    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !4
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.32 ms | 1394 KiB | 15 Q