3v4l.org

run code in 300+ PHP versions simultaneously
<?php print 'Default: '; var_dump(microtime()); print 'Optional: '; var_dump(microtime(TRUE));
Output for 8.2.4
Default: string(21) "0.01496800 1679984555" Optional: float(1679984555.014979)
Output for 8.2.3
Default: string(21) "0.01309000 1679984555" Optional: float(1679984555.013098)
Output for 8.2.2
Default: string(21) "0.01473600 1679984555" Optional: float(1679984555.014744)
Output for 8.2.1
Default: string(21) "0.01291100 1679984555" Optional: float(1679984555.012948)
Output for 8.2.0
Default: string(21) "0.01278800 1679984555" Optional: float(1679984555.012797)
Output for 8.1.17
Default: string(21) "0.01086200 1679984555" Optional: float(1679984555.010871)
Output for 8.1.16
Default: string(21) "0.01206100 1679984555" Optional: float(1679984555.012072)
Output for 8.1.15
Default: string(21) "0.01251900 1679984555" Optional: float(1679984555.012528)
Output for 8.1.14
Default: string(21) "0.01221200 1679984555" Optional: float(1679984555.01222)
Output for 8.1.13
Default: string(21) "0.01253600 1679984555" Optional: float(1679984555.012546)
Output for 8.1.12
Default: string(21) "0.01413400 1679984555" Optional: float(1679984555.014144)
Output for 8.1.11
Default: string(21) "0.01365600 1679984555" Optional: float(1679984555.013695)
Output for 8.1.10
Default: string(21) "0.01197800 1679984555" Optional: float(1679984555.011987)
Output for 8.1.9
Default: string(21) "0.01264300 1679984555" Optional: float(1679984555.012652)
Output for 8.1.8
Default: string(21) "0.02155000 1679984555" Optional: float(1679984555.021588)
Output for 8.1.7
Default: string(21) "0.01489200 1679984555" Optional: float(1679984555.0149)
Output for 8.1.6
Default: string(21) "0.01602400 1679984555" Optional: float(1679984555.016061)
Output for 8.1.5
Default: string(21) "0.01469300 1679984555" Optional: float(1679984555.014701)
Output for 8.1.4
Default: string(21) "0.01500100 1679984555" Optional: float(1679984555.015011)
Output for 8.1.3
Default: string(21) "0.01710200 1679984555" Optional: float(1679984555.017112)
Output for 8.1.2
Default: string(21) "0.03915700 1679984555" Optional: float(1679984555.03917)
Output for 8.1.1
Default: string(21) "0.01358800 1679984555" Optional: float(1679984555.013597)
Output for 8.1.0
Default: string(21) "0.01527800 1679984555" Optional: float(1679984555.01532)
Output for 8.0.28
Default: string(21) "0.01665800 1679984555" Optional: float(1679984555.017522)
Output for 8.0.27
Default: string(21) "0.01739800 1679984555" Optional: float(1679984555.018001)
Output for 8.0.26
Default: string(21) "0.01611900 1679984555" Optional: float(1679984555.016748)
Output for 8.0.25
Default: string(21) "0.01636200 1679984555" Optional: float(1679984555.01698)
Output for 8.0.24
Default: string(21) "0.01694500 1679984555" Optional: float(1679984555.017643)
Output for 8.0.23
Default: string(21) "0.01887900 1679984555" Optional: float(1679984555.018893)
Output for 8.0.22
Default: string(21) "0.01661200 1679984555" Optional: float(1679984555.016628)
Output for 8.0.21
Default: string(21) "0.01526300 1679984555" Optional: float(1679984555.015311)
Output for 8.0.20
Default: string(21) "0.01724000 1679984555" Optional: float(1679984555.017255)
Output for 8.0.19
Default: string(21) "0.01640400 1679984555" Optional: float(1679984555.01642)
Output for 8.0.18
Default: string(21) "0.02197800 1679984555" Optional: float(1679984555.021994)
Output for 8.0.17
Default: string(21) "0.01477400 1679984555" Optional: float(1679984555.014785)
Output for 8.0.16
Default: string(21) "0.01768600 1679984555" Optional: float(1679984555.017722)
Output for 8.0.15
Default: string(21) "0.01496000 1679984555" Optional: float(1679984555.014969)
Output for 8.0.14
Default: string(21) "0.01678900 1679984555" Optional: float(1679984555.016806)
Output for 8.0.13
Default: string(21) "0.01516400 1679984555" Optional: float(1679984555.015178)
Output for 8.0.12
Default: string(21) "0.01702200 1679984555" Optional: float(1679984555.017082)
Output for 8.0.11
Default: string(21) "0.01600300 1679984555" Optional: float(1679984555.016678)
Output for 8.0.10
Default: string(21) "0.02421400 1679984555" Optional: float(1679984555.024886)
Output for 8.0.9
Default: string(21) "0.01750200 1679984555" Optional: float(1679984555.018192)
Output for 8.0.8
Default: string(21) "0.01644300 1679984555" Optional: float(1679984555.017066)
Output for 8.0.7
Default: string(21) "0.01542700 1679984555" Optional: float(1679984555.016064)
Output for 8.0.6
Default: string(21) "0.01492200 1679984555" Optional: float(1679984555.015557)
Output for 8.0.5
Default: string(21) "0.01514000 1679984555" Optional: float(1679984555.015776)
Output for 8.0.3
Default: string(21) "0.01874400 1679984555" Optional: float(1679984555.019419)
Output for 8.0.2
Default: string(21) "0.01618000 1679984555" Optional: float(1679984555.016784)
Output for 8.0.1
Default: string(21) "0.01791500 1679984555" Optional: float(1679984555.017953)

preferences:
57.19 ms | 474 KiB | 5 Q