3v4l.org

run code in 300+ PHP versions simultaneously
<?php mt_srand (intval(microtime(true))); $six_digit_random_number = mt_rand(100000, 999999); echo $six_digit_random_number;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nqdKX
function name:  (null)
number of ops:  14
compiled vars:  !0 = $six_digit_random_number
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mt_srand'
          1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $1      
          4        CAST                                          4  ~2      $1
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                                 
    3     7        INIT_FCALL                                               'mt_rand'
          8        SEND_VAL                                                 100000
          9        SEND_VAL                                                 999999
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    5    12        ECHO                                                     !0
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.85 ms | 1385 KiB | 19 Q