3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datas = array( 0 => array( 'id' => '472' ), 1 => array( 'id' => 475 ), 26 => array( 'id' => '498' ) ); $datas = array_values($datas); $data_count = count($datas); for ($i = 0; $i < $data_count; $i++) { echo $datas[$i]['id'] . PHP_EOL; }
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 = 9
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 9
Branch analysis from position: 16
Branch analysis from position: 9
filename:       /in/EYlft
function name:  (null)
number of ops:  17
compiled vars:  !0 = $datas, !1 = $data_count, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   16     1        INIT_FCALL                                               'array_values'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !0, $4
   17     5        COUNT                                            ~6      !0
          6        ASSIGN                                                   !1, ~6
   19     7        ASSIGN                                                   !2, 0
          8      > JMP                                                      ->14
   20     9    >   FETCH_DIM_R                                      ~9      !0, !2
         10        FETCH_DIM_R                                      ~10     ~9, 'id'
         11        CONCAT                                           ~11     ~10, '%0A'
         12        ECHO                                                     ~11
   19    13        PRE_INC                                                  !2
         14    >   IS_SMALLER                                               !2, !1
         15      > JMPNZ                                                    ~13, ->9
   21    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.05 ms | 1005 KiB | 14 Q