3v4l.org

run code in 300+ PHP versions simultaneously
<?php mt_srand(987654321, MT_RAND_PHP); echo mt_rand(), "\n"; echo mt_rand(), "\n"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7ke9p
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mt_srand'
          1        SEND_VAL                                                 987654321
          2        SEND_VAL                                                 1
          3        DO_ICALL                                                 
          4        INIT_FCALL                                               'mt_rand'
          5        DO_ICALL                                         $1      
          6        ECHO                                                     $1
          7        ECHO                                                     '%0A'
          8        INIT_FCALL                                               'mt_rand'
          9        DO_ICALL                                         $2      
         10        ECHO                                                     $2
         11        ECHO                                                     '%0A'
    3    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.85 ms | 1394 KiB | 17 Q