3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 935.2832234; $time = round($time, 2); echo $time; $timeOut = ''; if ($time > 60 * 60) { $timeOut .= gmdate('H', $time) . 'hours, '; } if ($time > 60) { $timeOut .= gmdate('i', $time) . 'min, '; } $timeOut .= number_format($time % 60, 2); echo ' (' . $timeOut . number_format($time % 60, 2) . ' sec)' . "\n\n";

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)
8.3.60.0120.00318.56
8.3.50.0110.00822.05
8.3.40.0110.00718.95
8.3.30.0100.01019.22
8.3.20.0050.00320.43
8.3.10.0030.00622.09
8.3.00.0060.00322.56
8.2.180.0130.01016.50
8.2.170.0090.00622.96
8.2.160.0000.01420.76
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00317.63
8.2.110.0100.00022.23
8.2.100.0070.00417.84
8.2.90.0040.00419.34
8.2.80.0000.00817.97
8.2.70.0030.00617.48
8.2.60.0100.00018.05
8.2.50.0030.00618.07
8.2.40.0000.00818.34
8.2.30.0000.00718.12
8.2.20.0020.00517.88
8.2.10.0050.00217.83
8.2.00.0030.00519.50
8.1.280.0090.00925.92
8.1.270.0040.00422.19
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0090.00021.02
8.1.230.0040.00817.70
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0100.00017.48
8.1.190.0000.00817.63
8.1.180.0030.00618.76
8.1.170.0080.00018.77
8.1.160.0000.00822.00
8.1.150.0070.00018.70
8.1.140.0020.00517.60
8.1.130.0030.00317.77
8.1.120.0000.00717.58
8.1.110.0040.00417.63
8.1.100.0050.00217.52
8.1.90.0000.00717.51
8.1.80.0040.00417.64
8.1.70.0070.00017.54
8.1.60.0040.00417.59
8.1.50.0060.00317.49
8.1.40.0030.00517.53
8.1.30.0000.00817.77
8.1.20.0000.00817.67
8.1.10.0070.00017.61
8.1.00.0050.00317.45
8.0.300.0040.00418.77
8.0.290.0030.00616.75
8.0.280.0030.00318.57
8.0.270.0040.00417.37
8.0.260.0030.00317.02
8.0.250.0000.00816.97
8.0.240.0070.00017.13
8.0.230.0000.00717.16
8.0.220.0030.00317.07
8.0.210.0030.00317.06
8.0.200.0000.00717.04
8.0.190.0060.00317.04
8.0.180.0000.00816.93
8.0.170.0000.00716.88
8.0.160.0070.00016.84
8.0.150.0070.00316.99
8.0.140.0000.00816.85
8.0.130.0040.00413.36
8.0.120.0050.00316.96
8.0.110.0000.00816.81
8.0.100.0050.00316.77
8.0.90.0070.00017.02
8.0.80.0100.00717.02
8.0.70.0040.00416.83
8.0.60.0030.00317.01
8.0.50.0000.00716.86
8.0.30.0110.00817.01
8.0.20.0100.01117.40
8.0.10.0040.00416.97
8.0.00.0130.00516.78
7.4.330.0020.00215.27
7.4.320.0070.00016.71
7.4.300.0000.00616.57
7.4.290.0000.00716.58
7.4.280.0030.00316.57
7.4.270.0060.00016.45
7.4.260.0000.00716.68
7.4.250.0040.00416.63
7.4.240.0000.00716.54
7.4.230.0000.00716.46
7.4.220.0060.01216.54
7.4.210.0060.00916.53
7.4.200.0000.00716.48
7.4.190.0070.00016.78
7.4.160.0050.01116.35
7.4.150.0110.00617.40
7.4.140.0120.00617.86
7.4.130.0090.00816.40
7.4.120.0100.01116.58
7.4.110.0190.00416.66
7.4.100.0060.01216.52
7.4.90.0080.00816.48
7.4.80.0140.00419.39
7.4.70.0140.00416.62
7.4.60.0140.00516.49
7.4.50.0000.00816.41
7.4.40.0110.00322.77
7.4.30.0090.00616.57
7.4.00.0140.00314.84
7.3.330.0000.00613.25
7.3.320.0030.00313.08
7.3.310.0000.00716.48
7.3.300.0000.00616.37
7.3.290.0090.01216.37
7.3.280.0090.00816.36
7.3.270.0080.00817.40
7.3.260.0130.00616.57
7.3.250.0090.00916.58
7.3.240.0040.01216.59
7.3.230.0100.01016.59
7.3.210.0100.00716.81
7.3.200.0060.01719.39
7.3.190.0060.01216.75
7.3.180.0090.00616.79
7.3.170.0160.00616.32
7.3.160.0040.01116.66
7.3.120.0070.01014.88
7.2.330.0160.00416.77
7.2.320.0100.01416.81
7.2.310.0060.01016.71
7.2.300.0110.00516.91
7.2.290.0080.00816.70
7.2.00.0060.00619.41
7.1.100.0040.00718.05
7.1.70.0060.00916.98
7.1.60.0080.01519.82
7.1.50.0030.01917.17
7.1.00.0000.09322.54
7.0.200.0080.00416.79
7.0.140.0100.06322.15
7.0.60.0070.07319.88
7.0.50.0130.07717.91
7.0.40.0100.06020.12
7.0.30.0370.07720.18
7.0.20.0230.05320.19
7.0.10.0370.07020.33
7.0.00.0100.08320.11
5.6.280.0130.06021.13
5.6.210.0030.08320.46
5.6.200.0100.07718.23
5.6.190.0030.06720.49
5.6.180.4100.04320.77
5.6.170.0330.04320.47
5.6.160.0070.06320.50
5.6.150.0030.06718.15
5.6.140.0030.06318.20
5.6.130.0070.05318.15
5.6.120.0030.07720.98
5.6.110.0100.07720.96
5.6.100.0000.06021.12
5.6.90.0070.09021.12
5.6.80.0130.06720.52
5.6.70.4430.03320.42
5.5.350.0030.03020.37
5.5.340.0130.03317.95
5.5.330.0000.04320.22
5.5.320.0070.05020.51
5.5.310.0270.08320.17
5.5.300.0070.04718.01
5.5.290.0030.08018.00
5.5.280.0070.07020.87
5.5.270.0030.04320.64
5.5.260.0130.06720.76
5.5.250.0000.08720.54
5.5.240.0030.08720.33
5.4.450.0470.05319.55
5.4.440.0670.06319.57
5.4.430.0130.05019.25
5.4.420.0070.05719.32
5.4.410.0030.06019.15
5.4.400.0800.00018.81
5.4.390.0800.00018.68
5.4.380.0230.05718.63
5.4.370.0100.07018.72
5.4.360.0130.05318.46
5.4.350.0170.05318.67
5.4.340.0270.03718.52
5.4.320.0070.04012.46
5.4.310.0050.04112.46
5.4.300.0060.04412.46
5.4.290.0080.04612.46
5.4.280.0090.03312.36
5.4.270.0030.03812.36
5.4.260.0100.05018.90
5.4.250.0130.06719.03
5.4.240.0000.06018.79
5.4.230.0100.05718.90
5.4.220.0070.08018.76
5.4.210.0130.05719.01
5.4.200.0200.05718.93
5.4.190.0070.05718.78
5.4.180.0070.05719.02
5.4.170.0130.06018.77
5.4.160.0130.05019.02
5.4.150.0070.05718.98
5.4.140.0170.04716.49
5.4.130.0070.06316.53
5.4.120.0030.05016.45
5.4.110.0100.06716.35
5.4.100.0030.05316.41
5.4.90.0130.04716.46
5.4.80.0100.06716.39
5.4.70.0170.05716.28
5.4.60.0000.05716.42
5.4.50.0130.06716.23
5.4.40.0070.06016.44
5.4.30.0030.05316.47
5.4.20.0070.06016.39
5.4.10.0100.07316.37
5.4.00.0130.06015.77
5.3.290.0090.03512.80
5.3.280.0070.06714.46
5.3.270.0170.06714.69
5.3.260.0100.07014.51
5.3.250.0070.07714.66
5.3.240.0200.04314.50
5.3.230.0170.05714.68
5.3.220.0000.05714.61
5.3.210.0130.06014.45
5.3.200.0130.04714.46
5.3.190.0030.05314.64
5.3.180.0100.06714.71
5.3.170.0030.05314.42
5.3.160.0100.05014.45
5.3.150.0030.05314.66
5.3.140.0100.07314.71
5.3.130.0070.05314.32
5.3.120.0030.06314.70
5.3.110.0100.05014.70
5.3.100.0100.05313.91
5.3.90.0100.07314.06
5.3.80.0070.04713.95
5.3.70.0100.05013.79
5.3.60.0200.05714.04
5.3.50.0130.05313.96
5.3.40.0070.05713.86
5.3.30.0070.05713.74
5.3.20.0030.05713.79
5.3.10.0100.06313.67
5.3.00.0030.07313.79
5.2.170.0070.04011.36
5.2.160.0070.03711.17
5.2.150.0030.05011.37
5.2.140.0000.05011.28
5.2.130.0100.03311.33
5.2.120.0130.03011.24
5.2.110.0130.05311.33
5.2.100.0100.04311.21
5.2.90.0030.04010.98
5.2.80.0030.06311.21
5.2.70.0030.04711.21
5.2.60.0100.04011.13
5.2.50.0070.04011.05
5.2.40.0070.04011.12
5.2.30.0070.05311.00
5.2.20.0070.05011.00
5.2.10.0130.04711.14
5.2.00.0070.04010.87
5.1.60.0070.03310.33
5.1.50.0100.03010.06
5.1.40.0030.05010.06
5.1.30.0030.03710.39
5.1.20.0100.03010.62
5.1.10.0070.03310.27
5.1.00.0000.04010.22
5.0.50.0030.0278.90
5.0.40.0070.0238.59
5.0.30.0070.0578.53
5.0.20.0000.0308.24
5.0.10.0030.0308.26
5.0.00.0070.0378.13
4.4.90.0070.0278.00
4.4.80.0000.0238.00
4.4.70.0070.0208.00
4.4.60.0000.0278.00
4.4.50.0030.0278.00
4.4.40.0070.0308.00
4.4.30.0030.0208.00
4.4.20.0070.0238.00
4.4.10.0070.0178.00
4.4.00.0000.0378.00
4.3.110.0030.0208.00
4.3.100.0030.0208.00
4.3.90.0100.0238.00
4.3.80.0000.0338.00
4.3.70.0170.0078.00
4.3.60.0070.0238.00
4.3.50.0070.0208.00
4.3.40.0000.0378.00
4.3.30.0070.0238.00
4.3.20.0030.0208.00
4.3.10.0000.0278.00
4.3.00.0030.0278.20

preferences:
38.61 ms | 401 KiB | 5 Q