3v4l.org

run code in 300+ PHP versions simultaneously
<html> <body> <?php for ($i=1; $i<=5; $i++) { print rand() . "<br>"; } ?> </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/GSjcL
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%0A%3Cbody%3E%0A'
    4     1        ASSIGN                                                   !0, 1
          2      > JMP                                                      ->8
    6     3    >   INIT_FCALL                                               'rand'
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      $2, '%3Cbr%3E'
          6        ECHO                                                     ~3
    4     7        PRE_INC                                                  !0
          8    >   IS_SMALLER_OR_EQUAL                                      !0, 5
          9      > JMPNZ                                                    ~5, ->3
    9    10    >   ECHO                                                     '++++%3C%2Fbody%3E%0A%3C%2Fhtml%3E'
   10    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.06 ms | 1394 KiB | 15 Q