3v4l.org

run code in 300+ PHP versions simultaneously
<?php mt_srand(1361152757.2); for ($i=1; $i < 25; $i++) { echo mt_rand(), PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 5
Branch analysis from position: 12
Branch analysis from position: 5
filename:       /in/lCBXQ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mt_srand'
          1        SEND_VAL                                                 1.36115e+9
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 1
          4      > JMP                                                      ->10
    6     5    >   INIT_FCALL                                               'mt_rand'
          6        DO_ICALL                                         $3      
          7        ECHO                                                     $3
          8        ECHO                                                     '%0A'
    5     9        PRE_INC                                                  !0
         10    >   IS_SMALLER                                               !0, 25
         11      > JMPNZ                                                    ~5, ->5
    7    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.51 ms | 1394 KiB | 17 Q