3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr1 = array( 'l_ka3a1', 'l_ka3a2', 'l_ka3a3' ); $arr2 = array( 'l_no_inspection', 'l_elbab_alresi', 'l_bab_alqa3a' ); $arr3 = array( 'notes', 'notes', 'null' ); $expected = []; for($i=0;$i<3;$i++){ $expected[] = [$arr1[$i],$arr2[$i],$arr3[$i]]; } print_r($expected);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 6
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 6
Branch analysis from position: 17
Branch analysis from position: 6
filename:       /in/9Oo5D
function name:  (null)
number of ops:  21
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $arr3, !3 = $expected, !4 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   10     1        ASSIGN                                                       !1, <array>
   17     2        ASSIGN                                                       !2, <array>
   23     3        ASSIGN                                                       !3, <array>
   24     4        ASSIGN                                                       !4, 0
          5      > JMP                                                          ->15
   25     6    >   FETCH_DIM_R                                          ~11     !0, !4
          7        INIT_ARRAY                                           ~12     ~11
          8        FETCH_DIM_R                                          ~13     !1, !4
          9        ADD_ARRAY_ELEMENT                                    ~12     ~13
         10        FETCH_DIM_R                                          ~14     !2, !4
         11        ADD_ARRAY_ELEMENT                                    ~12     ~14
         12        ASSIGN_DIM                                                   !3
         13        OP_DATA                                                      ~12
   24    14        PRE_INC                                                      !4
         15    >   IS_SMALLER                                                   !4, 3
         16      > JMPNZ                                                        ~16, ->6
   28    17    >   INIT_FCALL                                                   'print_r'
         18        SEND_VAR                                                     !3
         19        DO_ICALL                                                     
         20      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.79 ms | 2322 KiB | 14 Q