3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function microtime_float() { list($usec, $sec) = explode(" ", microtime()); //return ((float)$usec + (float)$sec); return $usec; } echo microtime_float();
Output for 7.2.6
0.00362200
Output for 7.2.0
0.00638300
Output for 7.1.10
0.00268500
Output for 7.1.7
0.00266700
Output for 7.1.6
0.01539100
Output for 7.1.5
0.01534400
Output for 7.1.4
0.03183200
Output for 7.1.3
0.01545100
Output for 7.1.2
0.01842600
Output for 7.1.1
0.00520100
Output for 7.1.0
0.00493900
Output for 7.0.20
0.00380600
Output for 7.0.19
0.00375700
Output for 7.0.18
0.00406200
Output for 7.0.17
0.00425200
Output for 7.0.16
0.00406700
Output for 7.0.15
0.00426200
Output for 7.0.14
0.00396700
Output for 7.0.13
0.00455100
Output for 7.0.12
0.00413400
Output for 7.0.11
0.00416500
Output for 7.0.10
0.00451400
Output for 7.0.9
0.00423200
Output for 7.0.8
0.00439700
Output for 7.0.7
0.00422200
Output for 7.0.6
0.00430500
Output for 7.0.5
0.00411000
Output for 7.0.4
0.00423300
Output for 7.0.3
0.00397000
Output for 7.0.2
0.00405000
Output for 7.0.1
0.00543800
Output for 7.0.0
0.00441400
Output for hhvm-3.15.4
0.15951000
Output for 5.6.30
0.00482100
Output for 5.6.29
0.00463400
Output for 5.6.28
0.00482700
Output for 5.6.27
0.00462100
Output for 5.6.26
0.00449400
Output for 5.6.25
0.00421300
Output for 5.6.24
0.00420800
Output for 5.6.23
0.00450000
Output for 5.6.22
0.00480400
Output for 5.6.21
0.00480200
Output for 5.6.20
0.00438700
Output for 5.6.19
0.00440600
Output for 5.6.18
0.00501300
Output for 5.6.17
0.00567200
Output for 5.6.16
0.00457500
Output for 5.6.15
0.00484300
Output for 5.6.14
0.00429300
Output for 5.6.13
0.00445500
Output for 5.6.12
0.00446200
Output for 5.6.11
0.00449000
Output for 5.6.10
0.00513200
Output for 5.6.9
0.00492500
Output for 5.6.8
0.00482300
Output for 5.6.7
0.00493100
Output for 5.6.6
0.00509200
Output for 5.6.5
0.00477900
Output for 5.6.4
0.00641300
Output for 5.6.3
0.00446000
Output for 5.6.2
0.00436300
Output for 5.6.1
0.00477500
Output for 5.6.0
0.00494700