3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentError = "curl: (22) The requested URL returned error: 43 Forbidden\n\ngzip: stdin: unexpected end of file\n"; echo str_replace("\ngzip: stdin: unexpected end of file\n", "", $currentError);

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.0090.00916.58
8.3.60.0070.01416.50
8.3.50.0060.01021.91
8.3.40.0150.00018.50
8.3.30.0070.01019.01
8.3.20.0030.00520.34
8.3.10.0060.00323.53
8.3.00.0050.00319.18
8.2.180.0100.00718.29
8.2.170.0120.00322.96
8.2.160.0040.01120.34
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0000.00926.16
8.2.120.0080.00320.88
8.2.110.0030.00622.16
8.2.100.0110.00019.04
8.2.90.0050.00317.63
8.2.80.0050.00317.97
8.2.70.0040.00417.93
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0040.00422.32
8.2.30.0000.00718.21
8.2.20.0030.00617.68
8.2.10.0040.00418.11
8.2.00.0000.00817.49
8.1.280.0100.00725.92
8.1.270.0080.00022.04
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00722.06
8.1.230.0080.00319.16
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0090.00017.22
8.1.190.0030.00617.22
8.1.180.0030.00618.10
8.1.170.0000.00918.33
8.1.160.0040.00421.86
8.1.150.0000.00718.62
8.1.140.0070.00017.39
8.1.130.0070.00017.83
8.1.120.0030.00317.43
8.1.110.0000.00717.42
8.1.100.0000.00717.44
8.1.90.0000.00717.30
8.1.80.0040.00417.32
8.1.70.0070.00017.25
8.1.60.0000.00917.52
8.1.50.0000.00817.30
8.1.40.0040.00417.33
8.1.30.0050.00317.48
8.1.20.0030.00617.57
8.1.10.0000.00717.54
8.1.00.0030.00617.44
8.0.300.0040.00419.67
8.0.290.0070.00016.63
8.0.280.0000.00718.45
8.0.270.0050.00217.29
8.0.260.0030.00317.18
8.0.250.0000.00716.87
8.0.240.0090.00316.83
8.0.230.0070.00016.88
8.0.220.0000.00716.78
8.0.210.0030.00316.86
8.0.200.0000.00616.89
8.0.190.0040.00416.90
8.0.180.0070.00016.75
8.0.170.0000.00816.75
8.0.160.0000.00816.86
8.0.150.0040.00416.83
8.0.140.0040.00416.69
8.0.130.0030.00513.25
8.0.120.0000.00816.70
8.0.110.0040.00416.81
8.0.100.0000.00816.77
8.0.90.0040.00416.81
8.0.80.0030.01616.85
8.0.70.0000.00716.70
8.0.60.0070.00016.82
8.0.50.0030.00616.87
8.0.30.0100.00917.04
8.0.20.0090.01317.40
8.0.10.0050.00216.92
8.0.00.0100.00816.79
7.4.330.0050.00215.00
7.4.320.0030.00316.54
7.4.300.0000.00616.46
7.4.290.0070.00016.54
7.4.280.0000.00716.29
7.4.270.0040.00416.58
7.4.260.0070.00016.32
7.4.250.0000.00716.50
7.4.240.0050.00216.52
7.4.230.0030.00316.64
7.4.220.0120.00616.41
7.4.210.0070.00816.52
7.4.200.0000.00716.35
7.4.190.0030.00316.25
7.4.160.0160.00016.29
7.4.150.0120.00417.40
7.4.140.0110.00817.86
7.4.130.0090.00816.35
7.4.120.0140.00316.50
7.4.110.0110.00616.40
7.4.100.0070.01016.38
7.4.90.0100.00716.43
7.4.80.0130.01019.39
7.4.70.0100.00716.49
7.4.60.0110.00416.52
7.4.50.0000.00916.42
7.4.40.0070.01016.60
7.4.30.0160.00416.38
7.4.00.0100.00714.72
7.3.330.0030.00312.88
7.3.320.0050.00012.88
7.3.310.0070.00016.17
7.3.300.0000.00716.00
7.3.290.0060.00916.14
7.3.280.0110.00616.21
7.3.270.0130.00317.40
7.3.260.0070.01016.25
7.3.250.0150.00416.20
7.3.240.0150.00516.06
7.3.230.0130.00316.39
7.3.210.0140.00316.40
7.3.200.0070.01019.39
7.3.190.0130.01016.09
7.3.180.0120.00916.20
7.3.170.0110.00916.49
7.3.160.0060.01016.08
7.3.120.0050.01014.74
7.3.110.0100.00714.59
7.3.100.0150.00314.56
7.3.90.0100.01014.35
7.3.80.0000.01714.93
7.3.70.0000.01714.40
7.3.60.0070.00714.41
7.3.50.0100.00614.49
7.3.40.0060.01014.80
7.3.30.0040.01114.78
7.3.20.0030.01216.52
7.3.10.0080.00816.34
7.3.00.0060.00616.34
7.2.330.0070.01016.50
7.2.320.0030.01516.59
7.2.310.0100.00716.30
7.2.300.0060.01316.55
7.2.290.0030.01316.36
7.2.250.0070.01114.55
7.2.240.0110.00715.01
7.2.230.0070.01015.13
7.2.220.0040.01414.79
7.2.210.0030.00714.75
7.2.200.0040.01514.91
7.2.190.0070.01014.84
7.2.180.0060.01214.87
7.2.170.0100.00014.74
7.2.00.0000.01619.33
7.1.330.0070.00715.80
7.1.320.0030.00615.91
7.1.310.0030.01015.68
7.1.300.0070.01015.76
7.1.290.0060.00615.63
7.1.280.0030.00615.40
7.1.270.0050.00515.50
7.1.260.0000.01415.50
7.1.200.0000.00715.67
7.1.100.0000.01018.05
7.1.70.0090.00416.96
7.1.60.0120.01219.46
7.1.50.0070.01716.94
7.1.00.0030.07722.43
7.0.200.0050.00316.46
7.0.140.0000.07321.95
7.0.60.0070.08319.91
7.0.50.0130.07017.90
7.0.40.0100.08319.96
7.0.30.0370.04720.32
7.0.20.0200.03720.21
7.0.10.0070.07720.23
7.0.00.0100.08020.17
5.6.280.0030.07321.12
5.6.210.0030.08020.54
5.6.200.0100.07318.17
5.6.190.0030.07320.49
5.6.180.0230.07320.49
5.6.170.0300.07720.61
5.6.160.0030.04320.49
5.6.150.0000.04018.12
5.6.140.0070.08718.12
5.6.130.0070.08018.12
5.6.120.0170.08020.89
5.6.110.0130.07320.98
5.6.100.0130.06721.10
5.6.90.0130.05020.99
5.6.80.0030.06020.25
5.6.70.0330.04720.35
5.5.350.0030.04020.39
5.5.340.0130.07717.89
5.5.330.0130.07020.43
5.5.320.0200.04720.34
5.5.310.0370.07320.41
5.5.300.0000.04717.97
5.5.290.0070.08717.95
5.5.280.0130.05720.64
5.5.270.0070.04020.84
5.5.260.0030.08320.73
5.5.250.0170.07720.68
5.5.240.0100.07020.04
5.4.450.0670.06719.07
5.4.440.0630.06319.52
5.4.430.1000.06019.35
5.4.420.1000.05319.22
5.4.410.0870.05719.21
5.4.400.0830.05718.82
5.4.390.0900.05719.34
5.4.380.0070.06018.46
5.4.370.0130.05018.71
5.4.360.0130.05718.72
5.4.350.0100.05718.49
5.4.340.0200.04718.50
5.4.320.0040.03812.45
5.4.310.0060.03712.45
5.4.300.0050.04012.46
5.4.290.0070.05012.45
5.4.280.0160.06012.35
5.4.270.0120.05312.35
5.4.260.0120.04412.34
5.4.250.0100.04112.34
5.4.240.0070.04012.35
5.4.230.0070.04112.34
5.4.220.0090.04912.34
5.4.210.0130.06412.34
5.4.200.0090.05312.34
5.4.190.0100.05612.33
5.4.180.0120.05812.34
5.4.170.0050.06312.34
5.4.160.0170.08812.34
5.4.150.0080.05012.34
5.4.140.0090.05112.02
5.4.130.0080.03712.01
5.4.120.0110.04811.97
5.4.110.0070.04111.96
5.4.100.0100.04711.96
5.4.90.0090.04511.96
5.4.80.0100.03711.96
5.4.70.0080.04311.96
5.4.60.0090.03211.96
5.4.50.0070.03911.96
5.4.40.0110.03111.95
5.4.30.0080.03411.95
5.4.20.0060.03911.95
5.4.10.0080.04511.95
5.4.00.0150.05611.44
5.3.290.0080.05012.80
5.3.280.0120.05112.71
5.3.270.0070.05712.72
5.3.260.0080.04012.72
5.3.250.0110.03312.72
5.3.240.0080.04012.72
5.3.230.0080.04112.71
5.3.220.0100.03612.68
5.3.210.0040.04312.68
5.3.200.0070.04012.68
5.3.190.0110.04012.68
5.3.180.0110.04112.67
5.3.170.0080.04212.67
5.3.160.0150.06012.67
5.3.150.0110.05512.67
5.3.140.0110.05112.66
5.3.130.0080.05512.66
5.3.120.0110.04912.66
5.3.110.0140.06312.66
5.3.100.0130.04912.12
5.3.90.0130.05212.09
5.3.80.0120.06112.07
5.3.70.0070.05112.08
5.3.60.0090.05612.06
5.3.50.0110.06212.00
5.3.40.0090.05312.00
5.3.30.0120.06211.94
5.3.20.0130.05811.71
5.3.10.0140.06611.69
5.3.00.0130.06811.68
5.2.170.0180.0589.18
5.2.160.0130.0569.18
5.2.150.0060.0559.18
5.2.140.0050.0469.17
5.2.130.0100.0459.13
5.2.120.0070.0349.14
5.2.110.0110.0419.14
5.2.100.0110.0469.14
5.2.90.0070.0509.14
5.2.80.0090.0619.13
5.2.70.0080.0419.13
5.2.60.0080.0409.09
5.2.50.0040.0569.05
5.2.40.0090.0339.03
5.2.30.0070.0499.00
5.2.20.0060.0339.00
5.2.10.0080.0308.91
5.2.00.0050.0428.77
5.1.60.0070.0578.06
5.1.50.0060.0478.05
5.1.40.0080.0398.04
5.1.30.0080.0468.39
5.1.20.0110.0248.41
5.1.10.0080.0308.14
5.1.00.0050.0298.13
5.0.50.0060.0196.61
5.0.40.0060.0306.47
5.0.30.0060.0316.29
5.0.20.0100.0846.26
5.0.10.0040.0286.23
5.0.00.0110.0866.23
4.4.90.0040.0344.78
4.4.80.0040.0204.75
4.4.70.0040.0234.76
4.4.60.0020.0184.75
4.4.50.0050.0184.77
4.4.40.0040.0314.71
4.4.30.0030.0154.76
4.4.20.0050.0204.84
4.4.10.0030.0194.85
4.4.00.0050.0274.76
4.3.110.0010.0214.67
4.3.100.0050.0144.66
4.3.90.0020.0164.63
4.3.80.0020.0254.58
4.3.70.0020.0164.63
4.3.60.0010.0204.63
4.3.50.0050.0174.63
4.3.40.0040.0264.54
4.3.30.0030.0153.28
4.3.20.0040.0143.26
4.3.10.0010.0183.22
4.3.00.0030.0206.87

preferences:
66.05 ms | 401 KiB | 5 Q