3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="HTTP/1.1 200 OK Cache-Control: private Transfer-Encoding: chunked Content-Type: text/abo Server: Microsoft-IIS/7.5 content-disposition: attachment; filename=_07412052_140822_140904.gpc X-Powered-By: ASP.NET X-UA-Compatible: IE=edge,chrome=1 Strict-Transport-Security: max-age=2592000; includeSubDomains X-XSS-Protection: 1; mode=block X-Frame-Options: sameorigin Frame-Options: sameorigin Date: Thu, 04 Sep 2014 19:03:29 GMT"; $pattern="/.*content-disposition: attachment; filename=(.+)\n.+/s"; $replace="$1"; echo preg_replace($pattern, $replace, $str); ?>

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.01116.58
8.3.60.0170.00316.25
8.3.50.0120.00822.92
8.3.40.0060.00919.02
8.3.30.0100.01019.01
8.3.20.0030.00520.38
8.3.10.0040.00423.66
8.3.00.0090.00619.51
8.2.180.0120.00316.75
8.2.170.0110.00722.96
8.2.160.0040.01120.35
8.2.150.0110.00324.18
8.2.140.0140.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.18
8.2.110.0030.00720.23
8.2.100.0000.01218.22
8.2.90.0000.00719.09
8.2.80.0030.00617.97
8.2.70.0060.00317.63
8.2.60.0050.00317.93
8.2.50.0000.00818.07
8.2.40.0000.00818.22
8.2.30.0040.00418.15
8.2.20.0030.00517.76
8.2.10.0000.00717.89
8.2.00.0060.00317.81
8.1.280.0140.00725.92
8.1.270.0080.00823.80
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0170.00023.92
8.1.230.0040.00719.22
8.1.220.0000.00817.79
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0030.00517.24
8.1.180.0000.00818.10
8.1.170.0080.00018.63
8.1.160.0040.00421.97
8.1.150.0000.00718.91
8.1.140.0070.00017.50
8.1.130.0000.00717.86
8.1.120.0000.00717.50
8.1.110.0000.00717.55
8.1.100.0000.00717.54
8.1.90.0050.00317.43
8.1.80.0000.00817.54
8.1.70.0040.00417.45
8.1.60.0000.00917.66
8.1.50.0050.00317.51
8.1.40.0060.00317.59
8.1.30.0000.00817.59
8.1.20.0000.00817.70
8.1.10.0080.00017.59
8.1.00.0000.00717.50
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0000.00718.34
8.0.270.0030.00317.18
8.0.260.0000.00618.52
8.0.250.0060.00017.11
8.0.240.0000.00716.99
8.0.230.0000.00817.00
8.0.220.0000.00717.04
8.0.210.0040.00416.93
8.0.200.0050.00316.92
8.0.190.0030.00417.09
8.0.180.0000.00716.99
8.0.170.0030.00616.95
8.0.160.0040.00416.85
8.0.150.0080.00016.92
8.0.140.0000.00716.97
8.0.130.0000.00713.43
8.0.120.0040.00416.97
8.0.110.0000.00816.94
8.0.100.0000.00816.80
8.0.90.0030.00616.95
8.0.80.0070.01016.92
8.0.70.0040.00416.95
8.0.60.0040.00416.86
8.0.50.0000.00716.79
8.0.30.0110.00917.14
8.0.20.0150.02117.40
8.0.10.0000.00817.09
8.0.00.0130.00516.99
7.4.330.0050.00015.00
7.4.320.0060.00016.64
7.4.300.0000.00716.63
7.4.290.0030.00316.76
7.4.280.0030.00616.78
7.4.270.0070.00016.64
7.4.260.0040.00416.66
7.4.250.0050.00316.75
7.4.240.0040.00316.72
7.4.230.0080.00016.68
7.4.220.0110.00716.72
7.4.210.0130.00316.86
7.4.200.0030.00516.85
7.4.160.0100.00716.68
7.4.150.0090.00917.40
7.4.140.0100.00917.86
7.4.130.0070.01116.64
7.4.120.0070.01116.56
7.4.110.0100.00716.63
7.4.100.0070.01116.68
7.4.90.0100.00716.69
7.4.80.0060.01219.39
7.4.70.0060.01216.69
7.4.60.0000.01616.91
7.4.50.0000.00616.65
7.4.40.0120.00616.67
7.4.30.0060.00916.69
7.4.00.0000.01214.99
7.3.330.0080.00013.13
7.3.320.0000.00613.14
7.3.310.0000.00816.34
7.3.300.0080.00016.34
7.3.290.0030.01016.32
7.3.280.0070.00816.34
7.3.270.0100.00917.40
7.3.260.0120.00416.37
7.3.250.0100.00716.36
7.3.240.0110.00616.31
7.3.230.0000.01616.57
7.3.210.0100.00616.30
7.3.200.0100.00719.39
7.3.190.0090.00916.27
7.3.180.0060.01016.38
7.3.170.0060.01016.63
7.3.160.0090.00616.45
7.2.330.0060.01316.70
7.2.320.0100.00716.73
7.2.310.0070.01616.60
7.2.300.0110.00516.67
7.2.290.0100.00716.59
7.2.00.0000.01219.56
7.1.100.0070.00718.25
7.1.70.0020.00517.38
7.1.60.0070.01319.40
7.1.50.0120.00817.13
7.1.00.0100.07022.37
7.0.200.0000.00716.60
7.0.140.0070.07021.99
7.0.60.0070.05719.99
7.0.50.0100.06317.82
7.0.40.0030.05020.06
7.0.30.0200.04020.32
7.0.20.0300.07720.12
7.0.10.0170.07720.20
7.0.00.0070.07020.02
5.6.280.0030.07320.84
5.6.210.0100.08320.55
5.6.200.0000.05718.18
5.6.190.0130.07320.45
5.6.180.0270.06020.67
5.6.170.0170.04020.47
5.6.160.0030.08720.50
5.6.150.0100.05018.21
5.6.140.0100.07318.18
5.6.130.0130.04718.13
5.6.120.0070.04021.14
5.6.110.0100.08020.84
5.6.100.0130.06321.13
5.6.90.0070.07021.12
5.6.80.0170.08020.38
5.5.350.0300.07720.52
5.5.340.0070.08018.02
5.5.330.0070.08720.21
5.5.320.0200.08320.27
5.5.310.0330.05720.20
5.5.300.0130.03717.89
5.5.290.0030.04018.04
5.5.280.0100.04720.68
5.5.270.0170.07320.75
5.5.260.0130.06320.75
5.5.250.0270.06320.68
5.5.240.0000.07720.23
5.4.450.0270.04719.25
5.4.440.0400.06719.61
5.4.430.0700.03719.27
5.4.420.0530.04319.11
5.4.410.0130.05718.72
5.4.400.0500.05718.79
5.4.390.0430.05718.79
5.4.380.0070.06018.46
5.4.370.0070.05718.59
5.4.360.0130.05018.54
5.4.350.0060.03611.97
5.4.340.0080.03511.96
5.4.320.0090.03312.45
5.4.310.0030.04112.45
5.4.300.0070.04812.45
5.4.290.0100.04912.45
5.4.280.0030.03812.35
5.4.270.0050.03712.35
5.4.260.0050.03812.34
5.4.250.0060.03712.34
5.4.240.0030.03912.35
5.4.230.0070.03812.34
5.4.220.0100.03312.34
5.4.210.0080.03412.34
5.4.200.0090.03512.34
5.4.190.0050.03712.34
5.4.180.0040.03812.34
5.4.170.0050.03812.34
5.4.160.0070.03912.34
5.4.150.0080.04712.34
5.4.140.0060.05212.02
5.4.130.0080.04612.01
5.4.120.0050.03811.96
5.4.110.0050.03711.96
5.4.100.0060.04311.96
5.4.90.0060.04811.97
5.4.80.0110.04611.96
5.4.70.0060.04811.96
5.4.60.0120.03911.96
5.4.50.0110.04411.96
5.4.40.0140.04411.95
5.4.30.0080.04611.95
5.4.20.0100.04511.95
5.4.10.0100.04611.95
5.4.00.0060.05211.44
5.3.290.0110.04812.80
5.3.280.0090.04912.71
5.3.270.0030.04212.72
5.3.260.0030.04412.72
5.3.250.0100.03512.71
5.3.240.0100.03412.72
5.3.230.0090.03612.70
5.3.220.0100.04512.68
5.3.210.0040.04312.68
5.3.200.0110.03912.68
5.3.190.0160.04212.68
5.3.180.0110.04812.67
5.3.170.0110.04912.67
5.3.160.0100.04112.67
5.3.150.0070.03712.67
5.3.140.0070.03712.66
5.3.130.0080.05112.66
5.3.120.0090.04212.66
5.3.110.0050.04612.65
5.3.100.0060.03812.12
5.3.90.0070.04512.08
5.3.80.0100.04512.08
5.3.70.0140.04112.07
5.3.60.0100.04412.06
5.3.50.0100.04412.00
5.3.40.0060.05112.00
5.3.30.0070.04911.95
5.3.20.0070.04611.73
5.3.10.0090.04611.70
5.3.00.0120.03711.69
5.2.170.0080.0379.19
5.2.160.0060.0399.19
5.2.150.0090.0339.19
5.2.140.0070.0349.19
5.2.130.0060.0329.15
5.2.120.0050.0299.16
5.2.110.0070.0269.15
5.2.100.0080.0259.15
5.2.90.0040.0309.15
5.2.80.0040.0369.15
5.2.70.0090.0379.14
5.2.60.0120.0309.10
5.2.50.0080.0389.07
5.2.40.0080.0389.05
5.2.30.0060.0419.03
5.2.20.0100.0299.01
5.2.10.0070.0368.92
5.2.00.0070.0378.78
5.1.60.0060.0318.06
5.1.50.0100.0278.06
5.1.40.0110.0278.04
5.1.30.0060.0348.39
5.1.20.0080.0338.41
5.1.10.0130.0268.13
5.1.00.0120.0288.14
5.0.50.0100.0216.61
5.0.40.0070.0246.48
5.0.30.0110.0316.29
5.0.20.0060.0166.26
5.0.10.0020.0216.24
5.0.00.0050.0296.23
4.4.90.0090.0094.78
4.4.80.0040.0144.76
4.4.70.0030.0154.75
4.4.60.0020.0164.75
4.4.50.0030.0154.77
4.4.40.0020.0264.71
4.4.30.0000.0184.76
4.4.20.0000.0184.85
4.4.10.0040.0154.85
4.4.00.0030.0254.76
4.3.110.0000.0194.66
4.3.100.0030.0154.67
4.3.90.0040.0144.64
4.3.80.0020.0274.59
4.3.70.0030.0184.63
4.3.60.0050.0144.63
4.3.50.0020.0174.63
4.3.40.0020.0264.54
4.3.30.0020.0163.29
4.3.20.0050.0133.25
4.3.10.0010.0173.22
4.3.00.0070.0207.16

preferences:
39.37 ms | 401 KiB | 5 Q