3v4l.org

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

Function tinms:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DP7qU
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:
152.39 ms | 1397 KiB | 20 Q