3v4l.org

run code in 300+ PHP versions simultaneously
<?php // inizializza usando i microsecondi function crea_seme() { list($usec, $sec) = explode(' ', microtime()); echo (float) $sec + ((float) $usec * 100000); } mt_srand(crea_seme()); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvK9A
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_FCALL                                               'mt_srand'
          1        INIT_FCALL                                               'crea_seme'
          2        DO_FCALL                                      0  $0      
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                                 
    9     5      > RETURN                                                   1

Function crea_seme:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vvK9A
function name:  crea_seme
number of ops:  17
compiled vars:  !0 = $usec, !1 = $sec
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '+'
          2        INIT_FCALL                                               'microtime'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
          6        FETCH_LIST_R                                     $4      $3, 0
          7        ASSIGN                                                   !0, $4
          8        FETCH_LIST_R                                     $6      $3, 1
          9        ASSIGN                                                   !1, $6
         10        FREE                                                     $3
    6    11        CAST                                          5  ~8      !1
         12        CAST                                          5  ~9      !0
         13        MUL                                              ~10     ~9, 100000
         14        ADD                                              ~11     ~8, ~10
         15        ECHO                                                     ~11
    7    16      > RETURN                                                   null

End of function crea_seme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.67 ms | 1398 KiB | 20 Q