3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stamp=(string)(int)(microtime(true)*1000000); $stamp2=bcmul((string)microtime(true),"1000000",0); var_dump($stamp,$stamp2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/84IKp
function name:  (null)
number of ops:  22
compiled vars:  !0 = $stamp, !1 = $stamp2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $2      
          3        MUL                                              ~3      $2, 1000000
          4        CAST                                          4  ~4      ~3
          5        CAST                                          6  ~5      ~4
          6        ASSIGN                                                   !0, ~5
    4     7        INIT_FCALL_BY_NAME                                       'bcmul'
          8        INIT_FCALL                                               'microtime'
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $7      
         11        CAST                                          6  ~8      $7
         12        SEND_VAL_EX                                              ~8
         13        SEND_VAL_EX                                              '1000000'
         14        SEND_VAL_EX                                              0
         15        DO_FCALL                                      0  $9      
         16        ASSIGN                                                   !1, $9
    6    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !0
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.01 ms | 1395 KiB | 17 Q