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=(.+)\r.*/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.60.0210.00016.63
8.3.50.0100.00722.92
8.3.40.0150.00318.94
8.3.30.0060.00918.92
8.3.20.0000.00820.13
8.3.10.0040.00423.59
8.3.00.0120.00619.38
8.2.180.0140.00018.66
8.2.170.0100.00722.96
8.2.160.0180.00020.50
8.2.150.0120.00324.18
8.2.140.0040.00424.66
8.2.130.0110.00426.16
8.2.120.0050.00321.21
8.2.110.0050.00520.52
8.2.100.0070.00418.04
8.2.90.0060.00319.21
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0040.00418.04
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0030.00618.07
8.2.20.0050.00317.82
8.2.10.0000.00818.04
8.2.00.0030.00517.82
8.1.280.0070.01125.92
8.1.270.0090.00023.96
8.1.260.0080.00626.35
8.1.250.0070.00728.09
8.1.240.0030.00722.23
8.1.230.0070.00419.14
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0100.00417.25
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0020.00518.63
8.1.160.0040.00422.02
8.1.150.0070.00018.94
8.1.140.0000.00717.49
8.1.130.0070.00017.89
8.1.120.0000.00717.43
8.1.110.0080.00017.50
8.1.100.0070.00017.59
8.1.90.0000.00717.49
8.1.80.0000.00817.39
8.1.70.0030.00317.45
8.1.60.0040.00417.63
8.1.50.0000.00817.54
8.1.40.0000.00717.63
8.1.30.0050.00317.64
8.1.20.0000.00817.71
8.1.10.0070.00017.60
8.1.00.0000.00717.45
8.0.300.0040.00418.77
8.0.290.0090.00016.88
8.0.280.0040.00418.45
8.0.270.0000.00717.31
8.0.260.0000.00617.27
8.0.250.0040.00417.03
8.0.240.0030.00316.98
8.0.230.0000.00716.98
8.0.220.0030.00317.02
8.0.210.0020.00517.01
8.0.200.0060.00016.95
8.0.190.0040.00417.07
8.0.180.0030.00317.02
8.0.170.0000.00716.97
8.0.160.0050.00317.02
8.0.150.0030.00316.95
8.0.140.0000.00716.97
8.0.130.0030.00313.30
8.0.120.0040.00416.98
8.0.110.0000.00816.91
8.0.100.0040.00416.84
8.0.90.0030.00317.00
8.0.80.0100.00616.96
8.0.70.0050.00217.02
8.0.60.0050.00316.93
8.0.50.0040.00416.82
8.0.30.0110.01317.31
8.0.20.0120.01117.44
8.0.10.0040.00416.93
8.0.00.0070.01216.84
7.4.330.0020.00215.00
7.4.320.0030.00316.68
7.4.300.0060.00016.59
7.4.290.0030.00316.64
7.4.280.0110.00016.68
7.4.270.0030.00316.55
7.4.260.0040.00416.72
7.4.250.0040.00416.69
7.4.240.0030.00516.68
7.4.230.0050.00316.84
7.4.220.0070.01016.57
7.4.210.0060.00916.64
7.4.200.0040.00316.46
7.4.160.0030.01216.61
7.4.150.0170.00317.40
7.4.140.0160.01117.86
7.4.130.0090.00816.66
7.4.120.0070.00916.79
7.4.110.0100.00716.33
7.4.100.0090.00916.73
7.4.90.0070.01116.67
7.4.80.0070.01019.39
7.4.70.0030.01316.61
7.4.60.0100.00616.61
7.4.50.0030.00616.48
7.4.40.0070.01116.63
7.4.30.0100.01016.57
7.4.00.0070.00714.98
7.3.330.0080.00013.25
7.3.320.0000.00513.19
7.3.310.0000.00716.16
7.3.300.0040.00416.22
7.3.290.0110.00316.28
7.3.280.0060.00816.32
7.3.270.0130.00417.40
7.3.260.0200.00016.54
7.3.250.0120.00516.42
7.3.240.0110.01016.71
7.3.230.0120.00316.39
7.3.210.0100.00716.41
7.3.200.0140.00719.39
7.3.190.0100.01016.64
7.3.180.0110.00616.35
7.3.170.0030.01316.36
7.3.160.0120.00616.64
7.2.330.0030.01616.56
7.2.320.0130.00316.77
7.2.310.0120.00916.65
7.2.300.0130.00316.86
7.2.290.0100.00716.67
7.2.00.0030.00919.65
7.1.100.0100.00018.38
7.1.70.0000.00717.32
7.1.60.0040.02219.40
7.1.50.0060.01817.16
7.1.00.0070.07322.59
7.0.200.0000.00716.68
7.0.140.0000.07722.07
7.0.60.0170.07320.07
7.0.50.0070.07017.83
7.0.40.0070.06020.07
7.0.30.0530.07320.14
7.0.20.0170.04020.18
7.0.10.0130.08320.03
7.0.00.0000.06320.19
5.6.280.0030.07320.98
5.6.210.0070.08020.54
5.6.200.0100.07018.23
5.6.190.0130.05020.64
5.6.180.0330.05320.60
5.6.170.0170.05320.45
5.6.160.0000.05720.52
5.6.150.0030.05718.17
5.6.140.0000.04318.21
5.6.130.0100.06318.22
5.6.120.0100.08320.99
5.6.110.0070.07021.10
5.6.100.0070.05020.95
5.6.90.0070.03720.96
5.6.80.0030.05720.40
5.5.350.0230.04020.53
5.5.340.0030.04718.02
5.5.330.0030.04320.46
5.5.320.0270.03720.50
5.5.310.0300.07720.20
5.5.300.0030.08317.89
5.5.290.0130.06717.98
5.5.280.0130.06020.88
5.5.270.0130.06320.75
5.5.260.0030.08720.85
5.5.250.0100.07720.79
5.5.240.0000.07720.03
5.4.450.0970.07019.42
5.4.440.0630.05319.62
5.4.430.0470.05319.61
5.4.420.0530.06719.55
5.4.410.0130.05019.02
5.4.400.0330.05718.77
5.4.390.0300.05718.73
5.4.380.0170.05018.60
5.4.370.0070.05318.65
5.4.360.0100.05018.52
5.4.350.0090.03111.97
5.4.340.0050.03611.97
5.4.320.0090.04712.45
5.4.310.0090.03912.45
5.4.300.0040.05412.45
5.4.290.0090.05012.45
5.4.280.0090.04912.34
5.4.270.0070.04212.35
5.4.260.0050.03912.34
5.4.250.0090.03912.35
5.4.240.0100.03312.34
5.4.230.0080.03612.34
5.4.220.0080.03612.34
5.4.210.0070.03512.34
5.4.200.0060.04012.34
5.4.190.0030.03912.34
5.4.180.0080.03412.33
5.4.170.0040.03812.35
5.4.160.0080.03412.34
5.4.150.0050.03912.34
5.4.140.0070.04012.02
5.4.130.0050.03912.01
5.4.120.0090.03411.97
5.4.110.0090.05111.96
5.4.100.0100.04611.96
5.4.90.0090.05211.96
5.4.80.0090.05411.96
5.4.70.0090.04911.96
5.4.60.0060.05211.96
5.4.50.0050.04011.96
5.4.40.0070.03411.95
5.4.30.0070.03511.95
5.4.20.0060.04311.95
5.4.10.0060.03511.95
5.4.00.0060.03711.44
5.3.290.0070.04012.80
5.3.280.0060.03812.71
5.3.270.0090.03912.72
5.3.260.0050.04212.72
5.3.250.0100.03412.72
5.3.240.0080.03612.72
5.3.230.0060.03812.71
5.3.220.0100.03412.68
5.3.210.0100.03612.68
5.3.200.0050.03812.68
5.3.190.0110.04412.68
5.3.180.0050.03812.67
5.3.170.0100.03312.67
5.3.160.0060.04612.68
5.3.150.0080.03612.67
5.3.140.0040.03912.66
5.3.130.0090.03512.66
5.3.120.0060.03812.66
5.3.110.0030.04212.66
5.3.100.0140.03812.12
5.3.90.0040.03712.08
5.3.80.0050.03612.07
5.3.70.0030.03812.08
5.3.60.0020.04812.06
5.3.50.0050.03712.00
5.3.40.0040.03812.00
5.3.30.0030.03711.96
5.3.20.0040.03911.73
5.3.10.0070.03611.70
5.3.00.0060.03511.69
5.2.170.0060.0359.19
5.2.160.0050.0379.19
5.2.150.0080.0399.19
5.2.140.0040.0439.19
5.2.130.0080.0399.15
5.2.120.0050.0409.15
5.2.110.0060.0349.15
5.2.100.0050.0289.15
5.2.90.0060.0279.15
5.2.80.0040.0309.14
5.2.70.0060.0299.15
5.2.60.0030.0329.10
5.2.50.0020.0339.07
5.2.40.0080.0379.05
5.2.30.0080.0429.02
5.2.20.0060.0399.02
5.2.10.0050.0398.92
5.2.00.0060.0398.78
5.1.60.0070.0308.06
5.1.50.0060.0318.06
5.1.40.0080.0368.04
5.1.30.0100.0348.39
5.1.20.0060.0368.41
5.1.10.0030.0368.13
5.1.00.0100.0368.14
5.0.50.0090.0256.61
5.0.40.0050.0226.47
5.0.30.0070.0326.29
5.0.20.0030.0226.26
5.0.10.0070.0216.24
5.0.00.0040.0316.23
4.4.90.0010.0204.78
4.4.80.0020.0164.75
4.4.70.0020.0174.75
4.4.60.0040.0154.75
4.4.50.0030.0154.77
4.4.40.0040.0264.71
4.4.30.0020.0224.76
4.4.20.0050.0224.85
4.4.10.0020.0234.85
4.4.00.0050.0304.76
4.3.110.0010.0254.67
4.3.100.0040.0204.66
4.3.90.0040.0194.63
4.3.80.0030.0324.59
4.3.70.0090.0154.63
4.3.60.0050.0184.62
4.3.50.0010.0174.63
4.3.40.0020.0244.54
4.3.30.0010.0233.28
4.3.20.0020.0163.26
4.3.10.0020.0223.21
4.3.00.0100.0237.16

preferences:
32.99 ms | 401 KiB | 5 Q