3v4l.org

run code in 300+ PHP versions simultaneously
<?php $seed = date("d"); //get the day. srand($seed); //seeds the random generator with it. print $rand();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rkfpl
function name:  (null)
number of ops:  11
compiled vars:  !0 = $seed, !1 = $rand
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'srand'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    4     7        INIT_DYNAMIC_CALL                                        !1
          8        DO_FCALL                                      0  $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.67 ms | 1393 KiB | 17 Q