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); } echo microtime_float();
Output for 7.2.0
1394805889.0058
Output for 5.1.1, 5.1.5, 5.4.1, 7.1.7
1394805889.0027
Output for 7.1.6
1394805889.0075
Output for 7.1.5
1394805889.0113
Output for 5.4.19, 5.4.22, 7.1.0
1394805889.0063
Output for 5.3.7, 5.3.16, 5.4.0, 5.4.2, 7.0.20
1394805889.0024
Output for 5.3.8, 5.4.9, 7.0.14
1394805889.0039
Output for 7.0.6
1462234486.168
Output for 7.0.5
1459603794.2088
Output for 7.0.4
1457567907.5538
Output for 7.0.3
1458259848.7267
Output for 7.0.2
1458557146.3018
Output for 7.0.1
1458730652.153
Output for 7.0.0
1458998920.3667
Output for 5.6.28
1394805889.0046
Output for 5.6.21
1462130229.9735
Output for 5.6.20
1460191480.4538
Output for 5.6.19
1457302425.882
Output for 5.6.18
1457949535.361
Output for 5.6.17
1458362381.031
Output for 5.6.16
1459088023.0176
Output for 5.6.15
1459177642.7442
Output for 5.6.14
1459532747.4573
Output for 5.6.13
1460669620.9284
Output for 5.6.12
1461062523.9137
Output for 5.6.11
1461347891.4592
Output for 5.6.10
1461526690.2605
Output for 5.6.9
1461718045.6617
Output for 5.6.8
1461918155.6494
Output for 5.6.7
1464116634.61
Output for 5.5.35
1463870300.8943
Output for 5.5.34
1460299225.6855
Output for 5.5.33
1457434354.3685
Output for 5.5.32
1458146000.9733
Output for 5.5.31
1458459160.7548
Output for 5.5.30
1459444130.3251
Output for 5.5.29
1460806828.3891
Output for 5.5.28
1461160580.3114
Output for 5.5.27
1461256184.1133
Output for 5.5.26
1461621333.8463
Output for 5.5.25
1461816247.0919
Output for 5.5.24
1462016090.6459
Output for 5.4.45
1442202519.6272
Output for 5.4.44
1442202517.0573
Output for 5.4.43
1442202513.5184
Output for 5.4.42
1442202512.2751
Output for 5.4.41
1442202510.292
Output for 5.4.40
1431276465.2464
Output for 5.4.39
1431276464.3091
Output for 5.4.38
1425304390.6071
Output for 5.4.37
1423404346.5551
Output for 5.4.36
1423404346.1922
Output for 5.4.35
1423404345.8099
Output for 5.4.34
1423404345.4411
Output for 5.4.32
1410092631.4398
Output for 5.4.31
1410092628.8433
Output for 5.4.30
1410092625.4733
Output for 5.4.29
1410092625.1832
Output for 5.4.28
1410092624.8851
Output for 5.4.27
1410092629.3681
Output for 5.4.26
1394805889.0047
Output for 5.4.25
1394805889.0052
Output for 5.4.24
1394805889.0049
Output for 5.4.17, 5.4.23
1394805889.0059
Output for 5.4.15, 5.4.21
1394805889.0062
Output for 5.4.20
1394805889.0069
Output for 5.4.18
1394805889.0093
Output for 5.4.16
1394805889.0072
Output for 5.2.6, 5.3.12, 5.4.11, 5.4.14
1394805889.0034
Output for 5.3.25, 5.4.13
1394805889.003
Output for 5.2.1, 5.2.7, 5.3.2, 5.3.26, 5.4.12
1394805889.0026
Output for 5.4.10
1394805889.0042
Output for 5.4.5, 5.4.8
1394805889.0043
Output for 5.3.0, 5.3.14, 5.4.7
1394805889.0036
Output for 5.3.1, 5.4.6
1394805889.0028
Output for 5.2.10, 5.3.15, 5.4.4
1394805889.0022
Output for 5.2.13, 5.3.11, 5.4.3
1394805889.0031
Output for 5.3.29
1410092625.7783
Output for 5.3.3, 5.3.9, 5.3.28
1394805889.0033
Output for 5.3.6, 5.3.27
1394805889.0038
Output for 5.3.20 - 5.3.21, 5.3.23 - 5.3.24
1394805889.0035
Output for 5.1.4, 5.2.4, 5.2.8, 5.2.17, 5.3.10, 5.3.22
1394805889.0025
Output for 5.2.5, 5.3.19
1394805889.0051
Output for 5.3.18
1394805889.0125
Output for 5.3.13, 5.3.17
1394805889.0041
Output for 5.1.2, 5.1.6 - 5.2.0, 5.2.3, 5.3.5
1394805889.0023
Output for 5.3.4
1394805889.0032
Output for 5.2.16
1394805889.0021
Output for 5.2.12, 5.2.15
1394805889.002
Output for 5.1.3, 5.2.14
1394805889.0017
Output for 5.2.11
1394805889.0019
Output for 5.2.2, 5.2.9
1394805889.0029
Output for 5.1.0
1394805889.0014
Output for 5.0.1, 5.0.4 - 5.0.5
1394805889.0009
Output for 5.0.3
1394805889.0007
Output for 5.0.2
1394805889.0011
Output for 5.0.0
1394805889.0006
Output for 4.3.1 - 4.3.2, 4.3.4 - 4.3.7, 4.3.10 - 4.4.2, 4.4.5 - 4.4.9
1394805889.0002
Output for 4.3.3, 4.3.8 - 4.3.9, 4.4.3 - 4.4.4
1394805889.0003
Output for 4.3.0
1442202509.9152