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)(.+)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.0070.01418.68
8.3.50.0090.01122.84
8.3.40.0110.01118.57
8.3.30.0130.00719.09
8.3.20.0040.01120.16
8.3.10.0000.00823.70
8.3.00.0080.00819.51
8.2.180.0090.00616.38
8.2.170.0140.00322.96
8.2.160.0030.01720.35
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0140.00726.16
8.2.120.0040.00421.22
8.2.110.0000.00820.35
8.2.100.0110.00018.16
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0030.00617.88
8.2.60.0040.00417.55
8.2.50.0000.00918.07
8.2.40.0040.00419.83
8.2.30.0040.00418.00
8.2.20.0040.00417.81
8.2.10.0040.00417.90
8.2.00.0040.00417.65
8.1.280.0130.01025.92
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00321.96
8.1.230.0040.00719.08
8.1.220.0050.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0030.00717.35
8.1.180.0000.00818.10
8.1.170.0050.00318.78
8.1.160.0000.00721.89
8.1.150.0000.00818.80
8.1.140.0000.00817.57
8.1.130.0070.00017.73
8.1.120.0000.00817.62
8.1.110.0000.00717.53
8.1.100.0080.00017.44
8.1.90.0030.00317.54
8.1.80.0000.00717.45
8.1.70.0030.00317.51
8.1.60.0030.00617.62
8.1.50.0050.00317.62
8.1.40.0000.00817.46
8.1.30.0050.00317.66
8.1.20.0040.00417.71
8.1.10.0000.00717.52
8.1.00.0060.00317.48
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.50
8.0.270.0000.00717.32
8.0.260.0000.00617.18
8.0.250.0070.00017.08
8.0.240.0030.00317.02
8.0.230.0000.00816.85
8.0.220.0060.00016.95
8.0.210.0080.00017.03
8.0.200.0040.00417.10
8.0.190.0040.00417.06
8.0.180.0000.00716.95
8.0.170.0050.00316.85
8.0.160.0050.00216.94
8.0.150.0070.00016.86
8.0.140.0080.00016.84
8.0.130.0060.00013.34
8.0.120.0000.00717.00
8.0.110.0040.00417.02
8.0.100.0000.00816.93
8.0.90.0070.00016.98
8.0.80.0090.00616.99
8.0.70.0000.00716.81
8.0.60.0000.00817.04
8.0.50.0040.00416.86
8.0.30.0120.00717.22
8.0.20.0100.00917.46
8.0.10.0030.00517.05
8.0.00.0120.00416.92
7.4.330.0020.00315.12
7.4.320.0030.00316.80
7.4.300.0000.00616.70
7.4.290.0060.00016.72
7.4.280.0040.00716.75
7.4.270.0030.00316.63
7.4.260.0040.00216.63
7.4.250.0000.00816.63
7.4.240.0040.00416.68
7.4.230.0040.00416.66
7.4.220.0060.01316.61
7.4.210.0110.00316.82
7.4.200.0000.00716.46
7.4.160.0040.01116.46
7.4.150.0140.00417.40
7.4.140.0090.00917.86
7.4.130.0110.00716.63
7.4.120.0100.00816.58
7.4.110.0080.00816.49
7.4.100.0160.00316.47
7.4.90.0030.01316.68
7.4.80.0050.01219.39
7.4.70.0080.00816.65
7.4.60.0120.00916.77
7.4.50.0000.00816.54
7.4.40.0130.01016.36
7.4.30.0040.01216.66
7.4.00.0040.00815.19
7.3.330.0030.00313.20
7.3.320.0000.00613.26
7.3.310.0070.00016.15
7.3.300.0030.00316.29
7.3.290.0070.01316.37
7.3.280.0100.00816.31
7.3.270.0120.00817.40
7.3.260.0090.02816.38
7.3.250.0080.00916.55
7.3.240.0060.01216.27
7.3.230.0130.00616.56
7.3.210.0100.00616.48
7.3.200.0090.00919.39
7.3.190.0120.00416.65
7.3.180.0100.00616.71
7.3.170.0070.01016.72
7.3.160.0090.01216.39
7.3.00.0050.00816.73
7.2.330.0070.01116.77
7.2.320.0080.00816.69
7.2.310.0090.01216.67
7.2.300.0000.01716.63
7.2.290.0130.00316.61
7.2.130.0100.00516.91
7.2.120.0030.01116.84
7.2.110.0060.00916.84
7.2.100.0090.00816.90
7.2.90.0020.01516.96
7.2.80.0070.00816.94
7.2.70.0070.00716.96
7.2.60.0090.00316.75
7.2.50.0040.01117.03
7.2.40.0090.00517.10
7.2.30.0100.00516.98
7.2.20.0060.00816.67
7.2.10.0040.00916.95
7.2.00.0040.00717.78
7.1.250.0050.00815.60
7.1.240.0070.00715.87
7.1.230.0080.00615.90
7.1.220.0090.00415.84
7.1.210.0090.00615.88
7.1.200.0050.00815.84
7.1.190.0070.00715.70
7.1.180.0030.00815.78
7.1.170.0110.00415.86
7.1.160.0080.00416.01
7.1.150.0060.00615.99
7.1.140.0050.00915.84
7.1.130.0050.00815.95
7.1.120.0010.01015.82
7.1.110.0050.00515.97
7.1.100.0030.00916.68
7.1.90.0050.01015.80
7.1.80.0000.01215.85
7.1.70.0030.00916.23
7.1.60.0060.01117.05
7.1.50.0050.01116.30
7.1.40.0050.00915.83
7.1.30.0040.01115.91
7.1.20.0090.00515.93
7.1.10.0060.00615.97
7.1.00.0040.02918.05
7.0.330.0050.00815.36
7.0.320.0050.00615.58
7.0.310.0050.00915.28
7.0.300.0030.01015.40
7.0.290.0050.00815.32
7.0.280.0100.00315.69
7.0.270.0080.00615.47
7.0.260.0060.00815.36
7.0.250.0090.00715.57
7.0.240.0030.01015.57
7.0.230.0030.00915.53
7.0.220.0090.00615.38
7.0.210.0050.00615.49
7.0.200.0040.00815.93
7.0.190.0130.00515.58
7.0.180.0050.00915.63
7.0.170.0090.00415.57
7.0.160.0080.00615.59
7.0.150.0080.00515.57
7.0.140.0070.02817.68
7.0.130.0070.00715.50
7.0.120.0050.00715.60
7.0.110.0050.00515.63
7.0.100.0050.00915.42
7.0.90.0120.00215.59
7.0.80.0040.00915.60
7.0.70.0020.00915.69
7.0.60.0100.02616.99
7.0.50.0050.02116.36
7.0.40.0080.02915.74
7.0.30.0230.03015.68
7.0.20.0120.03015.63
7.0.10.0110.03315.70
7.0.00.0050.03515.80
5.6.380.0100.00214.05
5.6.370.0050.00714.22
5.6.360.0050.00914.33
5.6.350.0030.00914.18
5.6.340.0070.00414.46
5.6.330.0050.01014.15
5.6.320.0020.00814.31
5.6.310.0030.00914.53
5.6.300.0070.00413.91
5.6.290.0040.00714.26
5.6.280.0090.02716.42
5.6.270.0110.00214.39
5.6.260.0060.00514.39
5.6.250.0100.00514.12
5.6.240.0060.00814.36
5.6.230.0060.00814.33
5.6.220.0020.01014.31
5.6.210.0050.03116.35
5.6.200.0030.02115.59
5.6.190.0090.02716.32
5.6.180.0160.02816.18
5.6.170.0100.03016.26
5.6.160.0090.03016.24
5.6.150.0040.03315.52
5.6.140.0080.02715.63
5.6.130.0090.03115.55
5.6.120.0030.02116.44
5.6.110.0100.03016.45
5.6.100.0070.01516.69
5.6.90.0070.02016.48
5.6.80.0060.02516.17
5.6.70.1480.01716.17
5.6.60.0010.01014.15
5.6.50.0060.00514.14
5.6.40.0080.00314.12
5.6.30.0060.00414.14
5.6.20.0030.00614.23
5.6.10.0050.00914.20
5.6.00.0000.01414.22
5.5.380.0050.00511.18
5.5.370.0030.00811.18
5.5.360.0050.00811.18
5.5.350.0030.03514.27
5.5.340.0070.01213.43
5.5.330.0040.02014.31
5.5.320.1400.01614.21
5.5.310.0160.02414.23
5.5.300.0060.02813.46
5.5.290.0100.02613.44
5.5.280.0080.02614.41
5.5.270.0030.01914.41
5.5.260.0070.02614.41
5.5.250.0020.01814.33
5.5.240.0100.02814.21
5.5.230.0040.00411.18
5.5.220.0020.00911.18
5.5.210.0040.00411.18
5.5.200.0050.00311.18
5.5.190.0070.00011.18
5.5.180.0040.00311.18
5.5.170.0050.00111.18
5.5.160.0050.00511.18
5.5.150.0020.01011.18
5.5.140.0030.00611.18
5.5.130.0040.00711.18
5.5.120.0000.01111.18
5.5.110.0040.00611.18
5.5.100.0020.00711.18
5.5.90.0010.00611.18
5.5.80.0020.00611.18
5.5.70.0000.00911.18
5.5.60.0060.00211.18
5.5.50.0050.00411.18
5.5.40.0040.00711.18
5.5.30.0060.00611.18
5.5.20.0050.00311.18
5.5.10.0030.00411.18
5.5.00.0050.00311.18
5.4.450.0160.02113.93
5.4.440.0100.01613.95
5.4.430.0070.02413.97
5.4.420.0070.01913.92
5.4.410.0090.02713.90
5.4.400.0070.01613.76
5.4.390.0120.01813.82
5.4.380.0090.02913.84
5.4.370.0100.03013.84
5.4.360.0150.01813.76
5.4.350.0130.02513.81
5.4.340.0120.02713.83
5.4.330.0040.00711.18
5.4.320.0110.02313.81
5.4.310.0100.03013.83
5.4.300.0090.01713.74
5.4.290.0140.01213.74
5.4.280.0070.02113.75
5.4.270.0120.01613.81
5.4.260.0110.02213.72
5.4.250.0110.02913.83
5.4.240.0120.02613.81
5.4.230.0130.02413.81
5.4.220.0110.02813.74
5.4.210.0130.01713.81
5.4.200.0110.01413.81
5.4.190.0090.01713.82
5.4.180.0080.01913.70
5.4.170.0100.01613.81
5.4.160.0120.02913.71
5.4.150.0100.01313.85
5.4.140.0090.01612.93
5.4.130.0100.02612.87
5.4.120.0080.02812.91
5.4.110.0110.02512.85
5.4.100.0120.02412.91
5.4.90.0100.02812.94
5.4.80.0070.02612.90
5.4.70.0080.01612.93
5.4.60.0100.01412.85
5.4.50.0120.02812.93
5.4.40.0110.02212.79
5.4.30.0070.01812.90
5.4.20.0080.02312.86
5.4.10.0100.02812.84
5.4.00.0120.02412.70
5.3.290.0120.02712.28
5.3.280.0100.02812.34
5.3.270.0100.02112.27
5.3.260.0120.02712.26
5.3.250.0090.03012.31
5.3.240.0120.01112.33
5.3.230.0130.02312.31
5.3.220.0090.01612.26
5.3.210.0120.02612.29
5.3.200.0090.01712.27
5.3.190.0100.02912.31
5.3.180.0100.02712.31
5.3.170.0110.01412.26
5.3.160.0090.01412.29
5.3.150.0120.02312.31
5.3.140.0090.02412.25
5.3.130.0090.01912.23
5.3.120.0090.03012.26
5.3.110.0110.01712.31
5.3.100.0130.02512.09
5.3.90.0070.02012.08
5.3.80.0070.01712.10
5.3.70.0050.01812.09
5.3.60.0110.01712.09
5.3.50.0120.02612.05
5.3.40.0100.02612.06
5.3.30.0090.02512.07
5.3.20.0090.01411.97
5.3.10.0090.01412.01
5.3.00.0110.02611.98
5.2.170.0030.01511.52
5.2.160.0070.01211.52
5.2.150.0090.01311.52
5.2.140.0080.01711.52
5.2.130.0100.01111.52
5.2.120.0090.02211.52
5.2.110.0070.01311.52
5.2.100.0070.01311.52
5.2.90.0080.02411.52
5.2.80.0080.02311.52
5.2.70.0100.01511.52
5.2.60.0080.01411.52
5.2.50.0110.00911.52
5.2.40.0030.01711.52
5.2.30.0080.01211.52
5.2.20.0060.01311.52
5.2.10.0120.01711.52
5.2.00.0080.02411.52
5.1.60.0060.02011.52
5.1.50.0070.01311.52
5.1.40.0080.01911.52
5.1.30.0080.01511.52
5.1.20.0110.01611.52
5.1.10.0070.01211.52
5.1.00.0040.01411.52
5.0.50.0040.01811.52
5.0.40.0030.01211.52
5.0.30.0040.02411.52
5.0.20.0050.01511.52
5.0.10.0070.01411.52
5.0.00.0050.01211.52
4.4.90.0030.01111.52
4.4.80.0060.00611.52
4.4.70.0030.00611.52
4.4.60.0030.01111.52
4.4.50.0040.00811.52
4.4.40.0030.01111.52
4.4.30.0010.01011.52
4.4.20.0040.01311.52
4.4.10.0020.00911.52
4.4.00.0020.01211.52
4.3.110.0070.01211.52
4.3.100.0060.01011.52
4.3.90.0020.01511.52
4.3.80.0020.02411.52
4.3.70.0030.01011.52
4.3.60.0060.00811.52
4.3.50.0050.01311.52
4.3.40.0020.01211.52
4.3.30.0020.01511.52
4.3.20.0020.00811.52
4.3.10.0030.00611.52
4.3.00.0040.01311.52

preferences:
32.26 ms | 401 KiB | 5 Q