3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title>Solo For Loop!</title> </head> <body> <p> <?php // Write your for loop below! for ($i = 0; $i == 100; $i = $i + 10) { echo "<p> $i </p>"; } ?> </p> </body> </html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 3
Branch analysis from position: 11
Branch analysis from position: 3
filename:       /in/Glkkf
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A++%3Chead%3E%0A++++%3Ctitle%3ESolo+For+Loop%21%3C%2Ftitle%3E%0A++%3C%2Fhead%3E%0A++%3Cbody%3E%0A++++%3Cp%3E%0A++++++'
    9     1        ASSIGN                                                   !0, 0
          2      > JMP                                                      ->9
   10     3    >   ROPE_INIT                                     3  ~3      '%3Cp%3E+'
          4        ROPE_ADD                                      1  ~3      ~3, !0
          5        ROPE_END                                      2  ~2      ~3, '+%3C%2Fp%3E'
          6        ECHO                                                     ~2
    9     7        ADD                                              ~5      !0, 10
          8        ASSIGN                                                   !0, ~5
          9    >   IS_EQUAL                                                 !0, 100
         10      > JMPNZ                                                    ~7, ->3
   13    11    >   ECHO                                                     '++++%3C%2Fp%3E%0A++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   15    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.7 ms | 1393 KiB | 13 Q