3v4l.org

run code in 300+ PHP versions simultaneously
<?php $runs = 10; while($runs--){ echo mt_rand(-2147483648, mt_getrandmax()); echo "\n"; }
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 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
filename:       /in/mHHLB
function name:  (null)
number of ops:  13
compiled vars:  !0 = $runs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 10
    3     1      > JMP                                                      ->10
    4     2    >   INIT_FCALL                                               'mt_rand'
          3        SEND_VAL                                                 -2147483648
          4        INIT_FCALL                                               'mt_getrandmax'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    5     9        ECHO                                                     '%0A'
    3    10    >   POST_DEC                                         ~4      !0
         11      > JMPNZ                                                    ~4, ->2
    6    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.68 ms | 1398 KiB | 17 Q