3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=0; $i<100; $i++) { $os1 = mt_rand(5, 6); /* Random major Windows version */ $os2 = mt_rand(0, 2); /* Random minor Windows version */ $ua = mt_rand(17, 22); /* Random major Firefox version */ echo "Mozilla/5.0 (Windows NT {$os1}.{$os2}; rv:{$ua}.0) Gecko/20100101 Firefox/{$ua}.0 <br/>"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 2
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 30, Position 2 = 2
Branch analysis from position: 30
Branch analysis from position: 2
filename:       /in/bu5Xh
function name:  (null)
number of ops:  31
compiled vars:  !0 = $i, !1 = $os1, !2 = $os2, !3 = $ua
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->28
    4     2    >   INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 5
          4        SEND_VAL                                                 6
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
    5     7        INIT_FCALL                                               'mt_rand'
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 2
         10        DO_ICALL                                         $7      
         11        ASSIGN                                                   !2, $7
    6    12        INIT_FCALL                                               'mt_rand'
         13        SEND_VAL                                                 17
         14        SEND_VAL                                                 22
         15        DO_ICALL                                         $9      
         16        ASSIGN                                                   !3, $9
    7    17        ROPE_INIT                                     9  ~12     'Mozilla%2F5.0+%28Windows+NT+'
         18        ROPE_ADD                                      1  ~12     ~12, !1
         19        ROPE_ADD                                      2  ~12     ~12, '.'
         20        ROPE_ADD                                      3  ~12     ~12, !2
         21        ROPE_ADD                                      4  ~12     ~12, '%3B+rv%3A'
         22        ROPE_ADD                                      5  ~12     ~12, !3
         23        ROPE_ADD                                      6  ~12     ~12, '.0%29+Gecko%2F20100101+Firefox%2F'
         24        ROPE_ADD                                      7  ~12     ~12, !3
         25        ROPE_END                                      8  ~11     ~12, '.0+%3Cbr%2F%3E'
         26        ECHO                                                     ~11
    2    27        PRE_INC                                                  !0
         28    >   IS_SMALLER                                               !0, 100
         29      > JMPNZ                                                    ~18, ->2
    9    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.14 ms | 944 KiB | 16 Q