3v4l.org

run code in 300+ PHP versions simultaneously
<?php $team_array = array( array(68, 6, 0, 10, "1.000"), array(72, 6, 0, 10, "1.000"), array(65, 6, 0, 8, "1.000"), array(62, 6, 0, 4, "1.000"), array(54, 3, 3, 3, ".500"), array(55, 3, 3, -5, ".500"), array(59, 0, 6, -16, ".000") ); $result = array(); for($i=0; $i<4; $i++) { $result = $team_array[$i][0]; } print_r($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
Branch analysis from position: 4
filename:       /in/nFok1
function name:  (null)
number of ops:  14
compiled vars:  !0 = $team_array, !1 = $result, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, <array>
   14     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->8
   16     4    >   FETCH_DIM_R                                      ~6      !0, !2
          5        FETCH_DIM_R                                      ~7      ~6, 0
          6        ASSIGN                                                   !1, ~7
   14     7        PRE_INC                                                  !2
          8    >   IS_SMALLER                                               !2, 4
          9      > JMPNZ                                                    ~10, ->4
   19    10    >   INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.69 ms | 1394 KiB | 15 Q