3v4l.org

run code in 300+ PHP versions simultaneously
<?php // see https://github.com/eyecatchup/SEOstats/pull/42#issuecomment-29747931 if (!ini_get('date.timezone') && function_exists('date_default_timezone_set')) { date_default_timezone_set('UTC'); } // borrowed/adapted from https://www.php.net/manual/en/function.microtime.php#example-2402 function getMillitime() { list($usec, $sec) = explode(' ', microtime()); $microtime = ((float)$usec + (float)$sec); $millitime = $microtime * 100; return $millitime; } echo getMillitime();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
Branch analysis from position: 9
filename:       /in/XdFMe
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_get'
          1        SEND_VAL                                                 'date.timezone'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ_EX                                          ~1      ~1, ->9
          5    >   INIT_FCALL                                               'function_exists'
          6        SEND_VAL                                                 'date_default_timezone_set'
          7        DO_ICALL                                         $2      
          8        BOOL                                             ~1      $2
          9    > > JMPZ                                                     ~1, ->13
    4    10    >   INIT_FCALL                                               'date_default_timezone_set'
         11        SEND_VAL                                                 'UTC'
         12        DO_ICALL                                                 
   17    13    >   INIT_FCALL                                               'getmillitime'
         14        DO_FCALL                                      0  $4      
         15        ECHO                                                     $4
         16      > RETURN                                                   1

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

End of function getmillitime

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.37 ms | 1403 KiB | 24 Q