3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = str_replace(array("\r\n", "\r", "\n"), "", $output);

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.70.0070.01118.30
8.3.60.0040.01116.47
8.3.50.0140.00722.04
8.3.40.0090.00918.54
8.3.30.0040.01118.36
8.3.20.0050.00320.12
8.3.10.0050.00323.65
8.3.00.0040.00419.38
8.2.190.0120.00616.58
8.2.180.0170.00318.66
8.2.170.0070.00722.96
8.2.160.0110.00320.39
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0070.00317.38
8.2.120.0030.00626.35
8.2.110.0060.00319.21
8.2.100.0000.01217.72
8.2.90.0000.00918.16
8.2.80.0080.00018.03
8.2.70.0000.00817.55
8.2.60.0060.00318.16
8.2.50.0050.00517.37
8.2.40.0030.00619.41
8.2.30.0040.00420.61
8.2.20.0040.00417.67
8.2.10.0040.00417.86
8.2.00.0040.00417.98
8.1.280.0070.00725.92
8.1.270.0060.00322.24
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0060.00322.07
8.1.230.0070.00321.10
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.13
8.1.190.0000.00917.23
8.1.180.0000.01019.14
8.1.170.0050.00518.41
8.1.160.0000.00721.92
8.1.150.0040.00418.73
8.1.140.0060.00319.41
8.1.130.0040.00419.11
8.1.120.0070.00017.33
8.1.110.0000.00717.38
8.1.100.0000.00717.37
8.1.90.0090.00017.27
8.1.80.0020.00517.34
8.1.70.0080.00017.26
8.1.60.0030.00617.50
8.1.50.0050.00317.41
8.1.40.0040.00417.32
8.1.30.0040.00417.41
8.1.20.0000.00817.44
8.1.10.0030.00717.45
8.1.00.0000.00817.22
8.0.300.0070.00019.82
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0000.00817.12
8.0.260.0040.00416.80
8.0.250.0050.00316.95
8.0.240.0030.00316.97
8.0.230.0030.00316.91
8.0.220.0050.00316.92
8.0.210.0030.00516.89
8.0.200.0030.00316.83
8.0.190.0000.00816.91
8.0.180.0030.00516.91
8.0.170.0070.00016.92
8.0.160.0000.00716.86
8.0.150.0030.00316.83
8.0.140.0030.00616.81
8.0.130.0050.00013.34
8.0.120.0000.00716.82
8.0.110.0000.00716.86
8.0.100.0030.00516.94
8.0.90.0000.00716.85
8.0.80.0030.01316.81
8.0.70.0060.00316.82
8.0.60.0040.00416.94
8.0.50.0050.00316.98
8.0.30.0120.00917.13
8.0.20.0120.00717.40
8.0.10.0000.00717.05
8.0.00.0090.01016.65
7.4.330.0030.00315.08
7.4.320.0000.00616.48
7.4.300.0030.00316.43
7.4.290.0060.00316.41
7.4.280.0060.00316.50
7.4.270.0000.00716.36
7.4.260.0040.00416.38
7.4.250.0040.00416.40
7.4.240.0020.00516.35
7.4.230.0080.00016.22
7.4.220.0090.00916.59
7.4.210.0070.00716.45
7.4.200.0040.00416.45
7.4.160.0080.00816.58
7.4.150.0090.00917.40
7.4.140.0070.01417.86
7.4.130.0090.00916.47
7.4.120.0100.00716.42
7.4.110.0090.00916.50
7.4.100.0090.01316.44
7.4.90.0060.01216.29
7.4.80.0100.01019.39
7.4.70.0090.00616.35
7.4.60.0130.00316.46
7.4.50.0040.00416.33
7.4.40.0100.01016.40
7.4.30.0150.00816.43
7.4.00.0080.00314.50
7.3.330.0050.00213.15
7.3.320.0030.00313.12
7.3.310.0060.00016.11
7.3.300.0030.00316.22
7.3.290.0110.00616.26
7.3.280.0060.01016.17
7.3.270.0120.00617.40
7.3.260.0100.00616.41
7.3.250.0060.01216.32
7.3.240.0130.00316.19
7.3.230.0130.01016.42
7.3.210.0150.00716.16
7.3.200.0100.00616.30
7.3.190.0060.01616.21
7.3.180.0160.00016.17
7.3.170.0140.00616.27
7.3.160.0160.00016.14
7.2.330.0000.01616.20
7.2.320.0040.01716.21
7.2.310.0100.00616.42
7.2.300.0090.00916.59
7.2.290.0090.01316.36
7.2.80.0070.00416.63
7.2.60.0130.00016.59
7.2.00.0000.01619.34
7.1.200.0100.00315.81
7.1.100.0030.01018.12
7.1.70.0000.00816.90
7.1.60.0070.01019.48
7.1.50.0060.01916.73
7.1.00.0030.06722.35
7.0.200.0190.00814.71
7.0.100.0070.08320.00
7.0.90.0030.09019.86
7.0.80.0070.08019.96
7.0.70.0130.04019.91
7.0.60.0230.07319.89
7.0.50.0170.07320.15
7.0.40.0100.06720.07
7.0.30.0030.09020.03
7.0.20.0030.08720.10
7.0.10.0270.07719.96
7.0.00.0170.05720.16
5.6.280.0000.03320.85
5.6.250.0200.06720.54
5.6.240.0100.08320.62
5.6.230.0100.07020.54
5.6.220.0000.04720.46
5.6.210.0170.05020.68
5.6.200.0030.08021.06
5.6.190.0030.04021.13
5.6.180.0100.07321.05
5.6.170.0070.04321.03
5.6.160.0200.07321.16
5.6.150.0130.07720.94
5.6.140.0170.07021.05
5.6.130.0070.05020.94
5.6.120.0030.08721.09
5.6.110.0130.05721.14
5.6.100.0100.08321.07
5.6.90.0070.05720.99
5.6.80.0070.07020.33
5.6.70.0130.07320.37
5.6.60.0100.08020.37
5.6.50.0070.07320.40
5.6.40.0000.04720.45
5.6.30.0200.06320.43
5.6.20.0070.05720.52
5.6.10.0230.06320.36
5.6.00.0100.07320.35
5.5.380.0170.05320.36
5.5.370.0100.08020.47
5.5.360.0070.07720.50
5.5.350.0130.07720.39
5.5.340.0100.06020.90
5.5.330.0100.06720.91
5.5.320.0070.06020.85
5.5.310.0070.08320.84
5.5.300.0130.04320.82
5.5.290.0030.08720.91
5.5.280.0000.07020.90
5.5.270.0070.08020.75
5.5.260.0070.07020.87
5.5.250.0170.07720.44
5.5.240.0130.07320.18
5.5.230.0130.06020.27
5.5.220.0130.07720.09
5.5.210.0070.07720.19
5.5.200.0070.07320.14
5.5.190.0100.08320.21
5.5.180.0170.07020.21
5.5.160.0070.08720.20
5.5.150.0000.05020.18
5.5.140.0170.06020.20
5.5.130.0030.08020.06
5.5.120.0070.06720.25
5.5.110.0070.07720.11
5.5.100.0070.04319.94
5.5.90.0170.05720.08
5.5.80.0030.09020.05
5.5.70.0100.07720.08
5.5.60.0170.06020.07
5.5.50.0100.06720.10
5.5.40.0100.07020.13
5.5.30.0100.07720.13
5.5.20.0130.05719.94
5.5.10.0070.08020.04
5.5.00.0130.04020.02

preferences:
76.08 ms | 401 KiB | 5 Q