3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($msec, $sec) = explode(' ', microtime()); echo str_pad(round($msec*1000, 0), 3, '0');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5RmFa
function name:  (null)
number of ops:  23
compiled vars:  !0 = $msec, !1 = $sec
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     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
    3    11        INIT_FCALL                                               'str_pad'
         12        INIT_FCALL                                               'round'
         13        MUL                                              ~8      !0, 1000
         14        SEND_VAL                                                 ~8
         15        SEND_VAL                                                 0
         16        DO_ICALL                                         $9      
         17        SEND_VAR                                                 $9
         18        SEND_VAL                                                 3
         19        SEND_VAL                                                 '0'
         20        DO_ICALL                                         $10     
         21        ECHO                                                     $10
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.43 ms | 1395 KiB | 21 Q