3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php srand(date("d")); print $rand(); ?>
based on 7i59n
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jfFKt
function name:  (null)
number of ops:  10
compiled vars:  !0 = $rand
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'srand'
         1        INIT_FCALL                                               'date'
         2        SEND_VAL                                                 'd'
         3        DO_ICALL                                         $1      
         4        SEND_VAR                                                 $1
         5        DO_ICALL                                                 
   3     6        INIT_DYNAMIC_CALL                                        !0
         7        DO_FCALL                                      0  $3      
         8        ECHO                                                     $3
   4     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0