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)(.+)gpc(.*)/"; $replace="$3"; 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.60.0120.00318.55
8.3.50.0120.00723.07
8.3.40.0150.00718.96
8.3.30.0040.01119.04
8.3.20.0040.00420.37
8.3.10.0110.00723.61
8.3.00.0180.00319.38
8.2.180.0100.01016.75
8.2.170.0070.01022.96
8.2.160.0080.01220.34
8.2.150.0070.00724.18
8.2.140.0040.01424.66
8.2.130.0070.01026.16
8.2.120.0080.00021.28
8.2.110.0130.00320.38
8.2.100.0060.00618.16
8.2.90.0000.00919.27
8.2.80.0040.00417.97
8.2.70.0000.00917.63
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0000.00819.78
8.2.30.0100.00018.20
8.2.20.0030.00517.83
8.2.10.0050.00217.97
8.2.00.0050.00317.77
8.1.280.0060.00925.92
8.1.270.0080.00023.90
8.1.260.0090.00926.35
8.1.250.0060.00328.09
8.1.240.0120.00622.05
8.1.230.0040.00819.22
8.1.220.0000.00717.74
8.1.210.0030.00518.77
8.1.200.0070.00317.35
8.1.190.0000.00917.23
8.1.180.0080.00018.10
8.1.170.0040.00418.64
8.1.160.0030.00321.94
8.1.150.0040.00418.77
8.1.140.0040.00417.61
8.1.130.0000.00817.92
8.1.120.0040.00417.45
8.1.110.0000.00717.55
8.1.100.0000.00817.59
8.1.90.0070.00017.59
8.1.80.0040.00417.51
8.1.70.0030.00517.38
8.1.60.0080.00017.72
8.1.50.0040.00417.68
8.1.40.0050.00317.50
8.1.30.0030.00517.68
8.1.20.0080.00017.78
8.1.10.0070.00017.62
8.1.00.0040.00417.57
8.0.300.0000.00818.77
8.0.290.0020.00517.00
8.0.280.0000.00718.35
8.0.270.0030.00517.29
8.0.260.0070.00017.16
8.0.250.0030.00317.13
8.0.240.0030.00317.01
8.0.230.0030.00317.02
8.0.220.0030.00317.01
8.0.210.0040.00417.00
8.0.200.0070.00017.05
8.0.190.0040.00416.94
8.0.180.0040.00417.04
8.0.170.0060.00317.04
8.0.160.0040.00416.97
8.0.150.0030.00517.01
8.0.140.0070.00016.84
8.0.130.0050.00013.41
8.0.120.0000.00816.80
8.0.110.0070.00016.95
8.0.100.0040.00416.94
8.0.90.0040.00416.96
8.0.80.0100.00717.02
8.0.70.0040.00417.03
8.0.60.0070.00016.88
8.0.50.0040.00417.04
8.0.30.0130.01017.17
8.0.20.0080.01117.40
8.0.10.0000.00816.93
8.0.00.0110.00816.93
7.4.330.0030.00315.16
7.4.320.0030.00316.69
7.4.300.0030.00316.57
7.4.290.0030.00316.55
7.4.280.0000.00816.66
7.4.270.0070.00016.71
7.4.260.0030.00316.67
7.4.250.0030.00616.61
7.4.240.0020.00516.65
7.4.230.0040.00416.83
7.4.220.0110.00616.61
7.4.210.0060.01316.79
7.4.200.0070.00016.41
7.4.160.0120.00616.56
7.4.150.0100.00717.40
7.4.140.0100.00817.86
7.4.130.0100.00816.63
7.4.120.0110.00516.66
7.4.110.0030.01316.60
7.4.100.0160.00016.63
7.4.90.0150.00316.60
7.4.80.0040.01219.39
7.4.70.0120.00616.82
7.4.60.0120.00916.69
7.4.50.0040.00416.82
7.4.40.0100.01016.55
7.4.30.0080.00816.48
7.4.00.0030.00714.99
7.3.330.0000.00713.09
7.3.320.0000.00613.27
7.3.310.0030.00316.43
7.3.300.0060.00316.33
7.3.290.0030.01416.30
7.3.280.0060.01116.26
7.3.270.0070.01017.40
7.3.260.0070.01116.38
7.3.250.0060.01016.31
7.3.240.0120.00616.66
7.3.230.0160.00016.39
7.3.210.0130.00316.31
7.3.200.0110.00719.39
7.3.190.0170.00016.37
7.3.180.0040.01116.76
7.3.170.0110.00916.60
7.3.160.0100.00516.42
7.2.330.0100.00716.79
7.2.320.0060.01216.74
7.2.310.0090.01216.68
7.2.300.0110.00816.71
7.2.290.0070.01416.66
7.2.00.0060.00919.58
7.1.100.0000.01118.06
7.1.70.0000.00717.45
7.1.60.0100.01319.40
7.1.50.0110.01116.92
7.1.00.0030.07722.47
7.0.200.0030.00516.77
7.0.140.0030.07322.18
7.0.60.0070.07719.94
7.0.50.0200.05717.81
7.0.40.0030.08720.06
7.0.30.0270.03320.23
7.0.20.0200.06320.22
7.0.10.0000.08720.01
7.0.00.0130.07720.22
5.6.280.0100.06721.16
5.6.210.0100.08020.60
5.6.200.0100.08718.21
5.6.190.0030.09020.33
5.6.180.0300.06720.33
5.6.170.0200.06320.41
5.6.160.0070.05320.50
5.6.150.0100.06318.22
5.6.140.0030.05018.09
5.6.130.0070.08018.09
5.6.120.0030.05021.01
5.6.110.0170.08020.98
5.6.100.0130.08321.01
5.6.90.0100.06321.10
5.6.80.0030.08320.51
5.5.350.0330.07020.48
5.5.340.0030.08717.98
5.5.330.0100.08020.21
5.5.320.0230.04320.21
5.5.310.0270.05720.23
5.5.300.0070.03717.91
5.5.290.0130.03017.92
5.5.280.0130.05720.64
5.5.270.0000.09020.86
5.5.260.0170.07720.88
5.5.250.0100.08320.67
5.5.240.0070.07020.23
5.4.450.0100.05719.32
5.4.440.0470.06719.62
5.4.430.0400.06319.54
5.4.420.0730.04719.51
5.4.410.0130.04718.96
5.4.400.0400.07018.54
5.4.390.0300.05018.63
5.4.380.0130.05318.63
5.4.370.0070.04018.65
5.4.360.0170.05318.54
5.4.350.0080.03411.97
5.4.340.0100.03311.97
5.4.320.0060.03812.45
5.4.310.0040.04112.45
5.4.300.0110.03212.45
5.4.290.0080.03612.45
5.4.280.0060.03512.34
5.4.270.0050.03712.34
5.4.260.0070.03712.35
5.4.250.0040.03912.35
5.4.240.0050.03912.34
5.4.230.0040.03912.34
5.4.220.0070.03612.34
5.4.210.0050.03712.34
5.4.200.0090.04312.34
5.4.190.0040.03712.33
5.4.180.0040.03912.33
5.4.170.0070.03712.35
5.4.160.0090.04412.34
5.4.150.0080.04512.34
5.4.140.0090.03712.02
5.4.130.0040.03912.01
5.4.120.0060.03511.97
5.4.110.0080.03211.96
5.4.100.0070.04011.96
5.4.90.0070.03511.96
5.4.80.0060.03911.96
5.4.70.0080.03211.96
5.4.60.0040.03711.96
5.4.50.0070.03411.96
5.4.40.0050.03511.95
5.4.30.0090.03811.95
5.4.20.0090.03411.95
5.4.10.0060.03411.95
5.4.00.0060.03611.43
5.3.290.0060.03912.80
5.3.280.0080.03512.71
5.3.270.0030.04112.72
5.3.260.0040.04012.72
5.3.250.0050.03712.72
5.3.240.0100.03312.72
5.3.230.0070.03712.71
5.3.220.0080.03412.68
5.3.210.0060.04212.68
5.3.200.0020.04012.68
5.3.190.0060.03812.68
5.3.180.0040.03812.67
5.3.170.0070.03512.67
5.3.160.0050.04412.67
5.3.150.0060.03912.67
5.3.140.0080.03412.66
5.3.130.0080.03812.66
5.3.120.0060.04012.66
5.3.110.0080.03612.65
5.3.100.0080.03512.12
5.3.90.0080.04212.09
5.3.80.0050.03612.07
5.3.70.0030.03912.07
5.3.60.0060.03512.07
5.3.50.0030.03812.00
5.3.40.0030.03912.00
5.3.30.0090.03211.95
5.3.20.0060.03411.73
5.3.10.0100.03011.70
5.3.00.0030.03911.69
5.2.170.0030.0319.18
5.2.160.0050.0299.19
5.2.150.0060.0299.19
5.2.140.0080.0279.18
5.2.130.0060.0279.15
5.2.120.0060.0279.14
5.2.110.0030.0309.15
5.2.100.0040.0289.15
5.2.90.0080.0279.15
5.2.80.0060.0299.14
5.2.70.0050.0349.15
5.2.60.0060.0289.10
5.2.50.0040.0319.06
5.2.40.0110.0239.05
5.2.30.0050.0299.03
5.2.20.0020.0349.02
5.2.10.0070.0268.92
5.2.00.0040.0308.78
5.1.60.0030.0258.06
5.1.50.0040.0248.05
5.1.40.0040.0248.04
5.1.30.0070.0238.39
5.1.20.0020.0288.41
5.1.10.0070.0238.13
5.1.00.0050.0258.14
5.0.50.0030.0216.61
5.0.40.0020.0216.48
5.0.30.0040.0316.29
5.0.20.0070.0236.26
5.0.10.0000.0226.24
5.0.00.0050.0396.23
4.4.90.0030.0154.78
4.4.80.0020.0234.76
4.4.70.0060.0124.76
4.4.60.0080.0154.76
4.4.50.0010.0194.77
4.4.40.0040.0244.71
4.4.30.0030.0144.75
4.4.20.0020.0164.85
4.4.10.0020.0164.85
4.4.00.0010.0264.76
4.3.110.0020.0164.67
4.3.100.0010.0174.66
4.3.90.0070.0144.64
4.3.80.0030.0234.58
4.3.70.0030.0174.63
4.3.60.0010.0164.63
4.3.50.0050.0134.63
4.3.40.0030.0234.54
4.3.30.0060.0123.28
4.3.20.0030.0153.26
4.3.10.0000.0173.22
4.3.00.0200.0177.16

preferences:
42.68 ms | 401 KiB | 5 Q