3v4l.org

run code in 300+ PHP versions simultaneously
<?php function tinms(){ return round(microtime(true) * 1000); } $start = 1402255803676; $end = tinms(); echo $end - $start; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Eq6Uq
function name:  (null)
number of ops:  7
compiled vars:  !0 = $start, !1 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 1402255803676
    9     1        INIT_FCALL                                               'tinms'
          2        DO_FCALL                                      0  $3      
          3        ASSIGN                                                   !1, $3
   11     4        SUB                                              ~5      !1, !0
          5        ECHO                                                     ~5
   13     6      > RETURN                                                   1

Function tinms:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Eq6Uq
function name:  tinms
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'round'
          1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 <true>
          3        DO_ICALL                                         $0      
          4        MUL                                              ~1      $0, 1000
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                         $2      
          7      > RETURN                                                   $2
    5     8*     > RETURN                                                   null

End of function tinms

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.96 ms | 1401 KiB | 18 Q