3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php $x=1; do { echo "The number is: $x <br>"; $x++; } while ($x<=5); ?> </body> </html>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/3dY79
function name:  (null)
number of ops:  11
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
    9     2    >   ROPE_INIT                                     3  ~3      'The+number+is%3A+'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '+%3Cbr%3E'
          5        ECHO                                                     ~2
   10     6        PRE_INC                                                  !0
   11     7        IS_SMALLER_OR_EQUAL                                      !0, 5
          8      > JMPNZ                                                    ~6, ->2
   13     9    >   ECHO                                                     '%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   15    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.34 ms | 1393 KiB | 13 Q