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, 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.81
8.3.50.0100.00822.11
8.3.40.0070.01019.14
8.3.30.0090.00619.17
8.3.20.0070.00020.25
8.3.10.0000.00722.04
8.3.00.0070.00022.46
8.2.180.0120.00316.63
8.2.170.0120.00322.96
8.2.160.0070.00720.94
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00419.61
8.2.110.0100.00022.23
8.2.100.0100.00317.72
8.2.90.0080.00019.34
8.2.80.0080.00018.18
8.2.70.0030.00517.88
8.2.60.0030.00518.16
8.2.50.0030.00518.07
8.2.40.0080.00018.14
8.2.30.0060.00318.23
8.2.20.0040.00417.79
8.2.10.0080.00017.88
8.2.00.0070.00017.82
8.1.280.0070.00725.92
8.1.270.0060.00322.21
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0080.00022.26
8.1.230.0040.00817.89
8.1.220.0050.00317.78
8.1.210.0030.00518.77
8.1.200.0030.00617.48
8.1.190.0040.00417.53
8.1.180.0040.00418.68
8.1.170.0040.00418.64
8.1.160.0040.00422.03
8.1.150.0000.00718.86
8.1.140.0000.00717.55
8.1.130.0030.00317.98
8.1.120.0050.00217.48
8.1.110.0060.00317.57
8.1.100.0040.00417.64
8.1.90.0030.00317.51
8.1.80.0050.00317.61
8.1.70.0030.00317.53
8.1.60.0040.00417.57
8.1.50.0040.00417.59
8.1.40.0050.00217.63
8.1.30.0050.00317.74
8.1.20.0040.00417.70
8.1.10.0030.00517.63
8.1.00.0040.00417.51
8.0.300.0030.00318.77
8.0.290.0070.00017.28
8.0.280.0040.00418.46
8.0.270.0040.00417.34
8.0.260.0030.00316.90
8.0.250.0000.00717.02
8.0.240.0000.00717.16
8.0.230.0030.00317.07
8.0.220.0030.00317.09
8.0.210.0070.00016.94
8.0.200.0000.00817.04
8.0.190.0030.00616.98
8.0.180.0090.00317.00
8.0.170.0080.00017.06
8.0.160.0080.00016.95
8.0.150.0000.00816.91
8.0.140.0070.00016.85
8.0.130.0030.00313.37
8.0.120.0040.00416.91
8.0.110.0040.00417.04
8.0.100.0040.00416.92
8.0.90.0020.00516.89
8.0.80.0140.00016.92
8.0.70.0000.00717.10
8.0.60.0070.00016.87
8.0.50.0040.00416.95
8.0.30.0110.01217.04
8.0.20.0090.01317.40
8.0.10.0070.00017.12
8.0.00.0080.01316.82
7.4.330.0000.00515.14
7.4.320.0000.00716.66
7.4.300.0000.00616.59
7.4.290.0030.00316.54
7.4.280.0040.00316.68
7.4.270.0040.00416.72
7.4.260.0000.00816.64
7.4.250.0040.00416.53
7.4.240.0030.00416.61
7.4.230.0030.00316.41
7.4.220.0110.00616.62
7.4.210.0060.01116.67
7.4.200.0030.00316.36
7.4.190.0070.00016.61
7.4.160.0200.00016.63
7.4.150.0110.00617.40
7.4.140.0080.01417.86
7.4.130.0120.00716.53
7.4.120.0090.01116.64
7.4.110.0100.00616.53
7.4.100.0070.01116.61
7.4.90.0030.01516.67
7.4.80.0130.00819.39
7.4.70.0070.01316.48
7.4.60.0030.01316.59
7.4.50.0050.00316.59
7.4.40.0030.01022.77
7.4.30.0100.00616.88
7.4.00.0070.00414.82
7.3.330.0000.00513.13
7.3.320.0000.00613.17
7.3.310.0000.00716.41
7.3.300.0030.00316.36
7.3.290.0030.01116.39
7.3.280.0090.00816.38
7.3.270.0030.01317.40
7.3.260.0140.00316.58
7.3.250.0100.00816.40
7.3.240.0090.01316.27
7.3.230.0060.01116.56
7.3.210.0140.00316.45
7.3.200.0080.00819.39
7.3.190.0150.00616.58
7.3.180.0130.00316.53
7.3.170.0100.00716.71
7.3.160.0040.01116.63
7.3.120.0000.01515.03
7.2.330.0140.00316.64
7.2.320.0070.01416.78
7.2.310.0130.00316.84
7.2.300.0100.00716.78
7.2.290.0150.00916.65
7.2.00.0070.00719.61
7.1.100.0060.00617.87
7.1.70.0040.00417.25
7.1.60.0060.01919.82
7.1.50.0130.01317.09
7.1.00.0070.07322.32
7.0.200.0070.01016.88
7.0.140.0030.07322.19
7.0.60.0030.08020.04
7.0.50.0070.07017.66
7.0.40.0000.05020.24
7.0.30.0230.05020.13
7.0.20.0200.05020.30
7.0.10.0200.07020.13
7.0.00.0030.05719.99
5.6.280.0030.07320.86
5.6.210.0030.08720.66
5.6.200.0030.07318.17
5.6.190.0100.04320.77
5.6.180.3170.04720.41
5.6.170.0300.05320.54
5.6.160.0100.08320.37
5.6.150.0130.05718.15
5.6.140.0070.05318.22
5.6.130.0030.08018.14
5.6.120.0030.05021.12
5.6.110.0070.08021.08
5.6.100.0130.07720.98
5.6.90.0130.07020.95
5.6.80.0070.08020.35
5.6.70.4500.04320.32
5.5.350.0030.04720.41
5.5.340.0070.05318.02
5.5.330.0070.04020.28
5.5.320.0230.07320.39
5.5.310.0300.06320.35
5.5.300.0070.07717.98
5.5.290.0070.04718.02
5.5.280.0070.07720.88
5.5.270.0030.06020.75
5.5.260.0030.08020.73
5.5.250.0100.07720.58
5.5.240.0100.08020.25
5.4.450.0730.07019.59
5.4.440.0400.06019.13
5.4.430.0030.06319.68
5.4.420.0030.06019.54
5.4.410.0170.04719.41
5.4.400.0830.00018.65
5.4.390.0930.00018.74
5.4.380.0330.06718.78
5.4.370.0170.05018.77
5.4.360.0130.05318.72
5.4.350.0100.05718.68
5.4.340.0100.06018.72
5.4.320.0020.04112.46
5.4.310.0060.04212.45
5.4.300.0050.04212.46
5.4.290.0030.04412.46
5.4.280.0120.04712.36
5.4.270.0040.03712.35
5.4.260.0170.05018.72
5.4.250.0030.05718.80
5.4.240.0030.05719.01
5.4.230.0130.04718.91
5.4.220.0100.07018.96
5.4.210.0200.06718.98
5.4.200.0030.05718.82
5.4.190.0070.05018.76
5.4.180.0100.07018.95
5.4.170.0000.06018.92
5.4.160.0130.05018.73
5.4.150.0130.05318.86
5.4.140.0070.05316.36
5.4.130.0230.03316.28
5.4.120.0070.06016.45
5.4.110.0100.05716.39
5.4.100.0200.05716.24
5.4.90.0000.05316.43
5.4.80.0070.06716.49
5.4.70.0130.04716.43
5.4.60.0170.06316.37
5.4.50.0100.06716.36
5.4.40.0130.04316.50
5.4.30.0000.07716.40
5.4.20.0070.07316.44
5.4.10.0170.04316.20
5.4.00.0100.05315.93
5.3.290.0080.04112.80
5.3.280.0100.04714.48
5.3.270.0000.06714.65
5.3.260.0030.06014.76
5.3.250.0200.04014.66
5.3.240.0200.04714.49
5.3.230.0200.05714.67
5.3.220.0170.06314.57
5.3.210.0030.06014.64
5.3.200.0130.05714.47
5.3.190.0200.06014.71
5.3.180.0030.08014.61
5.3.170.0170.05714.65
5.3.160.0130.06014.72
5.3.150.0200.06714.72
5.3.140.0100.04714.64
5.3.130.0100.05314.61
5.3.120.0070.05714.30
5.3.110.0270.05714.41
5.3.100.0170.05014.12
5.3.90.0100.05013.88
5.3.80.0030.05713.96
5.3.70.0030.07313.79
5.3.60.0070.04714.01
5.3.50.0100.04313.96
5.3.40.0070.05013.95
5.3.30.0100.04313.82
5.3.20.0130.04313.78
5.3.10.0030.07313.59
5.3.00.0030.07713.34
5.2.170.0030.04311.30
5.2.160.0070.05011.42
5.2.150.0070.04011.37
5.2.140.0030.06011.13
5.2.130.0130.04311.00
5.2.120.0070.04311.12
5.2.110.0100.04011.38
5.2.100.0100.05011.22
5.2.90.0100.04711.00
5.2.80.0100.03711.32
5.2.70.0000.05011.21
5.2.60.0100.05011.18
5.2.50.0070.04711.09
5.2.40.0100.03711.27
5.2.30.0000.06311.10
5.2.20.0030.05011.09
5.2.10.0030.05711.05
5.2.00.0070.05310.68
5.1.60.0030.05010.18
5.1.50.0030.0509.97
5.1.40.0100.02710.18
5.1.30.0070.03310.29
5.1.20.0170.04010.31
5.1.10.0030.04710.27
5.1.00.0030.05710.27
5.0.50.0030.0308.70
5.0.40.0030.0238.45
5.0.30.0130.0308.40
5.0.20.0070.0338.20
5.0.10.0030.0308.34
5.0.00.0070.0608.21
4.4.90.0000.0237.44
4.4.80.0070.0237.44
4.4.70.0000.0237.44
4.4.60.0100.0237.44
4.4.50.0070.0177.44
4.4.40.0000.0377.44
4.4.30.0130.0177.44
4.4.20.0030.0307.44
4.4.10.0000.0237.44
4.4.00.0000.0337.44
4.3.110.0030.0237.44
4.3.100.0030.0207.44
4.3.90.0000.0237.44
4.3.80.0070.0307.44
4.3.70.0000.0207.44
4.3.60.0100.0137.44
4.3.50.0030.0307.44
4.3.40.0070.0277.44
4.3.30.0000.0337.44
4.3.20.0000.0237.44
4.3.10.0000.0307.44
4.3.00.0070.0208.20

preferences:
41.45 ms | 401 KiB | 5 Q