3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cars=array("Volvo","BMW","Toyota"); $arrlength=count($cars); for($x=$cars[0];$x<$arrlength;$x++) { echo $cars[$x]; echo "<br>"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 6
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 6
Branch analysis from position: 12
Branch analysis from position: 6
filename:       /in/3LLkr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $cars, !1 = $arrlength, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        COUNT                                            ~4      !0
          2        ASSIGN                                                   !1, ~4
    5     3        FETCH_DIM_R                                      ~6      !0, 0
          4        ASSIGN                                                   !2, ~6
          5      > JMP                                                      ->10
    6     6    >   FETCH_DIM_R                                      ~8      !0, !2
          7        ECHO                                                     ~8
    7     8        ECHO                                                     '%3Cbr%3E'
    5     9        PRE_INC                                                  !2
         10    >   IS_SMALLER                                               !2, !1
         11      > JMPNZ                                                    ~10, ->6
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.92 ms | 1393 KiB | 13 Q