3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = 935.2832234; $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 $text . ' (' . $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.0140.00018.20
8.3.50.0100.00722.05
8.3.40.0030.01418.92
8.3.30.0090.00619.23
8.3.20.0050.00320.38
8.3.10.0040.00422.07
8.3.00.0040.00422.57
8.2.180.0090.00616.75
8.2.170.0150.00322.96
8.2.160.0060.00920.98
8.2.150.0040.00424.18
8.2.140.0040.00724.66
8.2.130.0040.00426.16
8.2.120.0040.00419.48
8.2.110.0090.00022.41
8.2.100.0040.00719.77
8.2.90.0060.00319.36
8.2.80.0090.00017.97
8.2.70.0040.00417.63
8.2.60.0000.00817.91
8.2.50.0040.00418.07
8.2.40.0000.00718.22
8.2.30.0030.00618.19
8.2.20.0000.00817.96
8.2.10.0040.00417.80
8.2.00.0000.00717.68
8.1.280.0030.01325.92
8.1.270.0040.00422.17
8.1.260.0000.00726.35
8.1.250.0030.00628.09
8.1.240.0060.00324.02
8.1.230.0100.00019.29
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0050.00317.51
8.1.180.0040.00418.77
8.1.170.0030.00618.63
8.1.160.0000.00722.14
8.1.150.0000.00818.78
8.1.140.0040.00417.58
8.1.130.0070.00017.91
8.1.120.0000.00717.58
8.1.110.0040.00417.58
8.1.100.0000.00717.57
8.1.90.0040.00417.61
8.1.80.0000.00717.57
8.1.70.0040.00417.54
8.1.60.0100.00017.53
8.1.50.0000.00917.54
8.1.40.0050.00317.55
8.1.30.0000.00817.60
8.1.20.0080.00017.73
8.1.10.0040.00417.59
8.1.00.0040.00417.50
8.0.300.0070.00018.77
8.0.290.0000.00717.18
8.0.280.0040.00418.39
8.0.270.0070.00017.31
8.0.260.0030.00316.88
8.0.250.0030.00317.13
8.0.240.0000.00717.09
8.0.230.0030.00317.16
8.0.220.0040.00416.96
8.0.210.0000.00717.11
8.0.200.0030.00316.93
8.0.190.0020.00517.00
8.0.180.0060.00316.94
8.0.170.0000.00716.99
8.0.160.0070.00016.88
8.0.150.0060.00316.87
8.0.140.0030.00516.93
8.0.130.0070.00013.41
8.0.120.0050.00316.89
8.0.110.0000.00716.92
8.0.100.0070.00017.00
8.0.90.0000.00716.98
8.0.80.0000.01417.00
8.0.70.0030.00317.09
8.0.60.0050.00316.98
8.0.50.0040.00417.04
8.0.30.0160.00317.29
8.0.20.0090.01017.40
8.0.10.0030.00517.04
8.0.00.0130.00416.87
7.4.330.0020.00215.16
7.4.320.0000.00616.59
7.4.300.0040.00416.59
7.4.290.0030.00316.69
7.4.280.0040.00416.60
7.4.270.0030.00316.68
7.4.260.0030.00316.61
7.4.250.0050.00316.54
7.4.240.0040.00416.61
7.4.230.0030.00316.69
7.4.220.0070.01016.44
7.4.210.0080.00616.51
7.4.200.0070.00016.71
7.4.190.0000.00716.67
7.4.160.0080.00816.43
7.4.150.0060.01217.40
7.4.140.0120.00817.86
7.4.130.0090.00816.61
7.4.120.0070.01016.59
7.4.110.0100.00716.48
7.4.100.0100.00716.60
7.4.90.0080.01016.51
7.4.80.0220.00719.39
7.4.70.0130.00316.62
7.4.60.0030.01316.45
7.4.50.0040.00416.70
7.4.40.0100.01022.77
7.4.30.0080.00816.51
7.4.00.0100.00314.88
7.3.330.0030.00313.23
7.3.320.0060.00013.13
7.3.310.0030.00316.46
7.3.300.0030.00316.40
7.3.290.0060.00916.30
7.3.280.0090.00616.37
7.3.270.0060.01217.40
7.3.260.0090.01216.47
7.3.250.0110.00816.62
7.3.240.0130.00916.71
7.3.230.0060.01216.59
7.3.210.0140.01016.39
7.3.200.0070.01419.39
7.3.190.0100.00716.47
7.3.180.0080.00816.54
7.3.170.0070.01316.35
7.3.160.0140.00316.39
7.3.120.0080.00815.02
7.3.10.0060.00616.59
7.3.00.0040.01116.62
7.2.330.0070.01016.40
7.2.320.0170.01016.77
7.2.310.0030.01616.84
7.2.300.0050.01116.53
7.2.290.0030.01516.86
7.2.130.0030.01216.71
7.2.120.0030.00917.00
7.2.110.0070.00416.96
7.2.100.0060.00616.98
7.2.90.0030.01016.97
7.2.80.0070.00417.13
7.2.70.0030.00916.86
7.2.60.0040.01116.61
7.2.50.0140.00016.75
7.2.40.0030.00917.09
7.2.30.0070.00717.02
7.2.20.0040.01116.84
7.2.10.0040.00717.01
7.2.00.0060.00718.06
7.1.250.0080.00015.96
7.1.200.0000.01215.93
7.1.100.0070.00718.29
7.1.70.0050.00217.34
7.1.60.0100.01419.82
7.1.50.0140.01017.08
7.1.00.0070.09022.28
7.0.200.0000.01116.81
7.0.140.0030.07322.08
7.0.60.0100.04319.93
7.0.50.0130.07017.88
7.0.40.0070.07320.19
7.0.30.0330.08020.33
7.0.20.0270.07720.21
7.0.10.0330.07320.09
7.0.00.0030.07720.08
5.6.280.0030.07320.90
5.6.210.0100.05720.64
5.6.200.0070.06318.21
5.6.190.0130.07320.41
5.6.180.3170.04320.79
5.6.170.0230.05720.71
5.6.160.0130.07020.46
5.6.150.0100.05318.12
5.6.140.0030.05318.10
5.6.130.0070.05018.15
5.6.120.0070.05321.09
5.6.110.0170.07020.89
5.6.100.0100.08020.99
5.6.90.0070.04720.95
5.6.80.0070.05720.41
5.6.70.4200.03720.38
5.5.350.0030.08020.46
5.5.340.0000.06017.96
5.5.330.0130.03320.40
5.5.320.0070.05020.20
5.5.310.0300.04320.34
5.5.300.0100.04017.88
5.5.290.0100.07317.91
5.5.280.0100.04720.88
5.5.270.0030.07720.86
5.5.260.0100.06020.89
5.5.250.0130.08020.64
5.5.240.0170.05020.25
5.4.450.0400.06319.71
5.4.440.0170.06019.41
5.4.430.0200.04319.51
5.4.420.0230.06319.51
5.4.410.0070.05719.48
5.4.400.0830.00018.50
5.4.390.0830.00018.78
5.4.380.0400.05718.68
5.4.370.0770.05718.49
5.4.360.1030.04718.49
5.4.350.0870.05018.75
5.4.340.0930.05018.58
5.4.320.0060.03612.46
5.4.310.0060.03712.45
5.4.300.0090.03412.46
5.4.290.0080.04212.45
5.4.280.0070.04112.35
5.4.270.0040.03812.35
5.4.260.0070.05319.00
5.4.250.0030.05319.00
5.4.240.0130.07018.79
5.4.230.0070.07318.71
5.4.220.0070.05718.71
5.4.210.0100.05018.80
5.4.200.0130.04719.00
5.4.190.0070.05318.98
5.4.180.0170.04718.89
5.4.170.0130.05018.76
5.4.160.0030.06018.95
5.4.150.0130.04718.92
5.4.140.0100.04316.50
5.4.130.0100.04316.32
5.4.120.0070.05016.49
5.4.110.0030.05316.41
5.4.100.0070.05016.29
5.4.90.0200.05716.41
5.4.80.0130.04316.41
5.4.70.0130.04016.43
5.4.60.0070.05016.50
5.4.50.0070.06716.48
5.4.40.0130.06316.44
5.4.30.0070.05716.29
5.4.20.0030.05016.43
5.4.10.0070.05016.46
5.4.00.0070.04715.79
5.3.290.0030.04412.80
5.3.280.0130.05714.66
5.3.270.0200.04014.75
5.3.260.0100.05014.75
5.3.250.0030.05314.64
5.3.240.0100.04314.66
5.3.230.0130.05014.57
5.3.220.0000.06014.46
5.3.210.0130.04714.64
5.3.200.0070.05014.46
5.3.190.0170.04014.61
5.3.180.0030.07314.64
5.3.170.0000.05714.32
5.3.160.0100.05014.55
5.3.150.0100.04714.71
5.3.140.0170.06314.41
5.3.130.0030.06714.63
5.3.120.0000.06014.62
5.3.110.0070.07714.70
5.3.100.0200.05714.11
5.3.90.0030.05014.09
5.3.80.0100.05314.11
5.3.70.0070.05013.99
5.3.60.0070.05313.90
5.3.50.0070.06714.09
5.3.40.0030.06713.64
5.3.30.0130.06013.60
5.3.20.0070.05013.39
5.3.10.0100.05313.48
5.3.00.0130.04013.79
5.2.170.0070.04311.27
5.2.160.0070.03711.27
5.2.150.0030.04011.16
5.2.140.0070.06011.18
5.2.130.0070.04711.33
5.2.120.0000.04711.24
5.2.110.0100.03711.32
5.2.100.0200.04311.12
5.2.90.0030.04311.21
5.2.80.0030.06311.07
5.2.70.0000.04711.22
5.2.60.0070.04011.13
5.2.50.0000.06311.02
5.2.40.0130.03311.07
5.2.30.0000.04711.07
5.2.20.0030.04011.09
5.2.10.0130.04710.98
5.2.00.0030.04010.92
5.1.60.0100.0279.91
5.1.50.0000.0379.84
5.1.40.0100.0309.89
5.1.30.0030.03310.33
5.1.20.0130.04010.54
5.1.10.0030.03310.03
5.1.00.0030.0379.96
5.0.50.0030.0308.54
5.0.40.0000.0408.76
5.0.30.0000.0478.42
5.0.20.0030.0238.46
5.0.10.0070.0238.26
5.0.00.0000.0478.49
4.4.90.0000.0237.47
4.4.80.0070.0237.47
4.4.70.0000.0337.47
4.4.60.0030.0277.47
4.4.50.0070.0177.47
4.4.40.0000.0507.47
4.4.30.0030.0207.47
4.4.20.0000.0237.47
4.4.10.0070.0177.47
4.4.00.0030.0337.47
4.3.110.0070.0177.47
4.3.100.0000.0277.47
4.3.90.0030.0277.47
4.3.80.0070.0277.47
4.3.70.0030.0207.47
4.3.60.0100.0177.47
4.3.50.0000.0237.47
4.3.40.0030.0407.47
4.3.30.0030.0237.47
4.3.20.0030.0207.47
4.3.10.0000.0237.47
4.3.00.0130.0208.20

preferences:
43.31 ms | 401 KiB | 5 Q