3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $x=1; while($x<=5) { echo "The number is: $x <br>"; $x++; } ?> </body> </html>
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 = 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 3
Branch analysis from position: 10
Branch analysis from position: 3
filename:       /in/alU1Y
function name:  (null)
number of ops:  12
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3C%21DOCTYPE+html%3E%0A%3Chtml%3E%0A%3Cbody%3E%0A%0A'
    6     1        ASSIGN                                                   !0, 1
    8     2      > JMP                                                      ->8
    9     3    >   ROPE_INIT                                     3  ~3      'The+number+is%3A+'
          4        ROPE_ADD                                      1  ~3      ~3, !0
          5        ROPE_END                                      2  ~2      ~3, '+%3Cbr%3E'
          6        ECHO                                                     ~2
   10     7        PRE_INC                                                  !0
    8     8    >   IS_SMALLER_OR_EQUAL                                      !0, 5
          9      > JMPNZ                                                    ~6, ->3
   12    10    >   ECHO                                                     '+++%0A%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   15    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.63 ms | 1393 KiB | 13 Q