3v4l.org

run code in 300+ PHP versions simultaneously
<?php $color = array("white","green","red"); $arrlength=count($color); for($x=0;$x<$arrlength;$x++) { echo "<li>$color[$x]</li>"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 5
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 5
Branch analysis from position: 13
Branch analysis from position: 5
filename:       /in/EJoQX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $color, !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        ASSIGN                                                   !2, 0
          4      > JMP                                                      ->11
    7     5    >   ROPE_INIT                                     3  ~9      '%3Cli%3E'
          6        FETCH_DIM_R                                      ~7      !0, !2
          7        ROPE_ADD                                      1  ~9      ~9, ~7
          8        ROPE_END                                      2  ~8      ~9, '%3C%2Fli%3E'
          9        ECHO                                                     ~8
    5    10        PRE_INC                                                  !2
         11    >   IS_SMALLER                                               !2, !1
         12      > JMPNZ                                                    ~12, ->5
    9    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.18 ms | 1393 KiB | 13 Q