3v4l.org

run code in 300+ PHP versions simultaneously
<?php function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return round(((float)$usec + (float)$sec) * 100); } echo microtime_float();

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0040.01418.82
7.1.70.0040.00416.96
7.1.60.0100.01319.46
7.1.50.0120.00616.85
7.1.00.0000.07722.45
7.0.200.0360.00014.72
7.0.140.0000.07022.13
7.0.60.0200.07019.85
7.0.50.0070.05017.90
7.0.40.0070.08720.10
7.0.30.0230.06720.04
7.0.20.0200.05720.30
7.0.10.0230.06720.25
7.0.00.0030.04720.19
5.6.280.0070.08321.12
5.6.210.0130.05720.62
5.6.200.0030.07018.15
5.6.190.0100.08020.34
5.6.180.3730.05020.50
5.6.170.0370.07720.54
5.6.160.0100.04020.63
5.6.150.0030.05018.20
5.6.140.0030.08018.18
5.6.130.0070.08018.17
5.6.120.0070.05320.94
5.6.110.0100.07720.88
5.6.100.0070.07021.11
5.6.90.0070.08021.04
5.6.80.0100.06720.41
5.6.70.0170.03720.28
5.5.350.0200.04020.43
5.5.340.0030.03718.07
5.5.330.0070.04720.26
5.5.320.0100.08020.32
5.5.310.0270.07320.24
5.5.300.0130.04317.95
5.5.290.0100.07717.98
5.5.280.0130.07020.98
5.5.270.0100.07720.86
5.5.260.0030.06320.76
5.5.250.0070.09020.78
5.5.240.0170.07720.12
5.4.450.0200.03319.48
5.4.440.0170.04019.41
5.4.430.0230.07019.49
5.4.420.0230.05719.70
5.4.410.0230.06719.45
5.4.400.0230.07018.95
5.4.390.0300.07019.25
5.4.380.0230.07019.09
5.4.370.0270.07019.23
5.4.360.0270.05318.88
5.4.350.0270.05319.29
5.4.340.0270.07019.24
5.4.320.0300.07019.25
5.4.310.0230.07319.15
5.4.300.0270.06718.86
5.4.290.0270.06719.24
5.4.280.0170.04018.98
5.4.270.0200.08019.13
5.4.260.0230.06019.14
5.4.250.0200.07319.20
5.4.240.0270.07318.97
5.4.230.0300.04718.94
5.4.220.0230.07019.08
5.4.210.0100.05019.13
5.4.200.0170.05719.23
5.4.190.0300.06319.25
5.4.180.0270.07019.36
5.4.170.0330.06719.25
5.4.160.0270.07718.93
5.4.150.0330.06719.21
5.4.140.0170.04716.72
5.4.130.0230.04016.39
5.4.120.0300.03716.57
5.4.110.0170.08316.59
5.4.100.0270.06316.42
5.4.90.0230.07016.63
5.4.80.0330.05716.28
5.4.70.0270.03316.44
5.4.60.0300.06316.58
5.4.50.0270.06316.25
5.4.40.0230.07016.38
5.4.30.0170.04316.24
5.4.20.0300.06316.57
5.4.10.0230.07316.37
5.4.00.0230.07015.78
5.3.290.0270.07014.63
5.3.280.0300.06714.56
5.3.270.0230.04314.64
5.3.260.0230.07314.71
5.3.250.0130.05314.61
5.3.240.0270.07314.59
5.3.230.0300.07014.53
5.3.220.0200.06014.65
5.3.210.0270.07314.56
5.3.200.0330.05714.58
5.3.190.0230.04014.55
5.3.180.0270.05714.64
5.3.170.0270.03714.53
5.3.160.0230.05714.61
5.3.150.0170.07714.64
5.3.140.0200.04014.56
5.3.130.0230.03314.51
5.3.120.0230.07014.55
5.3.110.0200.03714.52
5.3.100.0170.05014.01
5.3.90.0300.04014.18
5.3.80.0200.08013.92
5.3.70.0270.04313.99
5.3.60.0270.06313.91
5.3.50.0230.05713.95
5.3.40.0270.04313.86
5.3.30.0430.02713.93
5.3.20.0230.07013.73
5.3.10.0170.05013.77
5.3.00.0170.07013.56
5.2.170.0170.06712.36
5.2.160.0200.03712.36
5.2.150.0170.06312.36
5.2.140.0170.04312.36
5.2.130.0170.02712.36
5.2.120.0130.03712.36
5.2.110.0200.05312.36
5.2.100.0300.03012.36
5.2.90.0270.05012.36
5.2.80.0230.05312.36
5.2.70.0170.05312.36
5.2.60.0270.03312.36
5.2.50.0270.05012.36
5.2.40.0170.05712.36
5.2.30.0130.04312.36
5.2.20.0200.05312.36
5.2.10.0200.05712.36
5.2.00.0200.05712.36
5.1.60.0170.04712.36
5.1.50.0230.04712.36
5.1.40.0170.03012.36
5.1.30.0230.02712.36
5.1.20.0230.04312.36
5.1.10.0130.05712.36
5.1.00.0170.05712.36
5.0.50.0070.03012.36
5.0.40.0200.03712.36
5.0.30.0100.06312.36
5.0.20.0070.02712.36
5.0.10.0100.03312.36
5.0.00.0100.05712.36
4.4.90.0130.03012.36
4.4.80.0100.03312.36
4.4.70.0070.03712.36
4.4.60.0170.02312.36
4.4.50.0070.02012.36
4.4.40.0100.05312.36
4.4.30.0070.03712.36
4.4.20.0070.02312.36
4.4.10.0100.03312.36
4.4.00.0100.03012.36
4.3.110.0070.03312.36
4.3.100.0100.03012.36
4.3.90.0070.03312.36
4.3.80.0100.04312.36
4.3.70.0100.02012.36
4.3.60.0070.03312.36
4.3.50.0100.03312.36
4.3.40.0030.03712.36
4.3.30.0030.02312.36
4.3.20.0030.03012.36
4.3.10.0100.02712.36
4.3.00.0000.03012.36

preferences:
34.71 ms | 400 KiB | 5 Q