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="Date"; $replace="ahoj"; 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.0090.00618.18
8.3.50.0110.01022.93
8.3.40.0170.00318.84
8.3.30.0140.00718.89
8.3.20.0100.00720.11
8.3.10.0140.00423.59
8.3.00.0100.01019.38
8.2.180.0080.00816.75
8.2.170.0090.00922.96
8.2.160.0030.01020.29
8.2.150.0140.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00820.89
8.2.110.0070.01420.35
8.2.100.0040.00718.03
8.2.90.0070.00019.17
8.2.80.0000.00817.97
8.2.70.0040.00417.63
8.2.60.0080.00018.04
8.2.50.0040.00418.07
8.2.40.0030.00619.78
8.2.30.0050.00318.05
8.2.20.0040.00417.58
8.2.10.0000.00818.05
8.2.00.0040.00417.71
8.1.280.0130.00325.92
8.1.270.0090.00021.96
8.1.260.0080.00026.35
8.1.250.0140.00428.09
8.1.240.0140.00418.63
8.1.230.0100.00019.27
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00017.35
8.1.190.0030.00517.10
8.1.180.0000.00918.10
8.1.170.0060.00318.50
8.1.160.0000.00721.94
8.1.150.0000.00818.73
8.1.140.0000.00817.44
8.1.130.0040.00417.25
8.1.120.0070.00017.44
8.1.110.0000.00917.38
8.1.100.0000.00717.34
8.1.90.0040.00417.34
8.1.80.0000.00717.26
8.1.70.0000.00717.24
8.1.60.0060.00317.50
8.1.50.0060.00317.48
8.1.40.0080.00017.34
8.1.30.0040.00417.64
8.1.20.0050.00317.54
8.1.10.0000.00717.39
8.1.00.0040.00417.36
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0000.00718.35
8.0.270.0070.00017.24
8.0.260.0000.00716.92
8.0.250.0030.00316.97
8.0.240.0070.00316.86
8.0.230.0030.00516.92
8.0.220.0030.00316.75
8.0.210.0070.00016.75
8.0.200.0040.00416.83
8.0.190.0080.00016.92
8.0.180.0000.00816.81
8.0.170.0030.00516.89
8.0.160.0040.00416.78
8.0.150.0040.00416.82
8.0.140.0080.00016.88
8.0.130.0000.00613.29
8.0.120.0040.00416.82
8.0.110.0050.00216.85
8.0.100.0000.00816.84
8.0.90.0070.00016.84
8.0.80.0030.01316.84
8.0.70.0030.00316.88
8.0.60.0000.00816.71
8.0.50.0050.00216.74
8.0.30.0110.01117.14
8.0.20.0140.00917.40
8.0.10.0040.00417.04
8.0.00.0090.00916.81
7.4.330.0050.00015.01
7.4.320.0030.00316.53
7.4.300.0000.00616.34
7.4.290.0040.00416.46
7.4.280.0060.00316.48
7.4.270.0000.00816.48
7.4.260.0030.00316.50
7.4.250.0030.00516.32
7.4.240.0020.00616.55
7.4.230.0000.00716.37
7.4.220.0110.00716.51
7.4.210.0030.01316.57
7.4.200.0040.00416.32
7.4.160.0030.01716.46
7.4.150.0030.01317.40
7.4.140.0090.00917.86
7.4.130.0060.01016.44
7.4.120.0090.00816.47
7.4.110.0120.00616.45
7.4.100.0060.01516.39
7.4.90.0090.00916.48
7.4.80.0070.01619.39
7.4.70.0110.00616.45
7.4.60.0160.00316.38
7.4.50.0000.00816.59
7.4.40.0090.01516.46
7.4.30.0080.00816.41
7.4.00.0030.01114.85
7.3.330.0050.00212.99
7.3.320.0050.00012.94
7.3.310.0070.00016.13
7.3.300.0000.00716.18
7.3.290.0100.00616.16
7.3.280.0090.00816.17
7.3.270.0070.01017.40
7.3.260.0140.00316.44
7.3.250.0100.00616.24
7.3.240.0160.00716.20
7.3.230.0120.00816.39
7.3.210.0090.00916.39
7.3.200.0110.00819.39
7.3.190.0030.01316.13
7.3.180.0060.01016.27
7.3.170.0120.00516.35
7.3.160.0080.00816.30
7.3.120.0140.00314.76
7.3.110.0030.01014.85
7.3.100.0030.01014.75
7.3.90.0040.00714.57
7.3.80.0090.00614.66
7.3.70.0030.00614.38
7.3.60.0140.00014.59
7.3.50.0000.00914.84
7.3.40.0030.01014.73
7.3.30.0000.01114.60
7.3.20.0090.00016.55
7.3.10.0030.01016.34
7.3.00.0100.00316.74
7.2.330.0030.01416.50
7.2.320.0080.00816.63
7.2.310.0130.00316.40
7.2.300.0090.01216.19
7.2.290.0130.00716.54
7.2.250.0060.01214.66
7.2.240.0070.01314.88
7.2.230.0130.00314.86
7.2.220.0030.01015.18
7.2.210.0030.01214.90
7.2.200.0000.00915.04
7.2.190.0070.01015.05
7.2.180.0040.01114.59
7.2.170.0110.00314.82
7.2.60.0130.00016.86
7.2.50.0000.01016.62
7.1.330.0090.00615.74
7.1.320.0080.00315.62
7.1.310.0140.00415.63
7.1.300.0110.00415.79
7.1.290.0080.00415.61
7.1.280.0040.01115.75
7.1.270.0040.00815.75
7.1.260.0070.00715.72
7.1.200.0040.00315.76
7.1.70.0070.00017.25
7.1.60.0070.01819.40
7.1.50.0070.01416.77
7.1.00.0070.07322.44
7.0.200.0000.00716.55
7.0.140.0030.07322.16
7.0.60.0030.08020.07
7.0.50.0000.04317.77
7.0.40.0070.08019.95
7.0.30.0270.06020.06
7.0.20.0200.03720.13
7.0.10.0070.04020.12
7.0.00.0000.05720.13
5.6.210.0130.07020.62
5.6.200.0100.08018.19
5.6.190.0130.07320.43
5.6.180.0230.08320.61
5.6.170.0230.06020.62
5.6.160.0030.09020.44
5.6.150.0070.07018.11
5.6.140.0100.06718.07
5.6.130.0030.06018.18
5.6.120.0030.07721.02
5.6.110.0030.06320.97
5.6.100.0170.08021.00
5.6.90.0100.08021.07
5.6.80.0070.06020.43
5.5.350.3970.03320.38
5.5.340.0100.08017.93
5.5.330.0070.09320.21
5.5.320.0370.06720.28
5.5.310.0400.07320.23
5.5.300.0100.03317.89
5.5.290.0130.07717.96
5.5.280.0070.08320.84
5.5.270.0070.04720.78
5.5.260.0070.08320.76
5.5.250.0070.03720.79
5.5.240.0270.06720.03
5.4.450.1500.04019.41
5.4.440.0870.04019.57
5.4.430.0030.08319.25
5.4.420.1300.03719.09
5.4.410.0770.04019.29
5.4.400.0730.03718.81
5.4.390.0470.03319.09
5.4.380.0470.06318.46
5.4.370.0400.04718.56
5.4.360.0300.05718.61
5.4.350.0370.04718.46
5.4.340.0230.05718.70
5.4.320.0070.03512.45
5.4.310.0080.03512.45
5.4.300.0080.03312.45
5.4.290.0050.03812.45
5.4.280.0060.03412.35
5.4.270.0050.03612.35
5.4.260.0030.03912.34
5.4.250.0100.03412.34
5.4.240.0090.03212.34
5.4.230.0060.03612.34
5.4.220.0060.03512.34
5.4.210.0040.03712.34
5.4.200.0070.03512.34
5.4.190.0070.03912.33
5.4.180.0030.03812.33
5.4.170.0030.03812.35
5.4.160.0090.03212.34
5.4.150.0070.03512.34
5.4.140.0060.04012.02
5.4.130.0060.03512.01
5.4.120.0070.03311.97
5.4.110.0030.03711.96
5.4.100.0040.03711.96
5.4.90.0040.03811.96
5.4.80.0120.04111.96
5.4.70.0060.03311.96
5.4.60.0050.03511.96
5.4.50.0040.03611.96
5.4.40.0070.03411.95
5.4.30.0080.03211.95
5.4.20.0080.03411.95
5.4.10.0040.03511.94
5.4.00.0030.03811.44
5.3.290.0080.03612.80
5.3.280.0060.03912.71
5.3.270.0070.04212.72
5.3.260.0060.03912.72
5.3.250.0090.03412.72
5.3.240.0040.03912.72
5.3.230.0060.05012.71
5.3.220.0060.03812.68
5.3.210.0070.03912.68
5.3.200.0070.03912.68
5.3.190.0060.04412.68
5.3.180.0060.03912.68
5.3.170.0040.03712.67
5.3.160.0050.03612.67
5.3.150.0050.03712.68
5.3.140.0090.04212.66
5.3.130.0040.04712.66
5.3.120.0050.03912.66
5.3.110.0070.04012.66
5.3.100.0060.03612.12
5.3.90.0060.03612.08
5.3.80.0060.03512.07
5.3.70.0030.03912.08
5.3.60.0080.03412.07
5.3.50.0060.03512.00
5.3.40.0080.03412.00
5.3.30.0050.03511.95
5.3.20.0100.03111.72
5.3.10.0050.03611.69
5.3.00.0090.04311.68
5.2.170.0060.0359.18
5.2.160.0050.0299.18
5.2.150.0090.0279.18
5.2.140.0040.0319.17
5.2.130.0050.0289.13
5.2.120.0070.0269.13
5.2.110.0050.0299.14
5.2.100.0050.0279.14
5.2.90.0030.0309.14
5.2.80.0050.0309.13
5.2.70.0030.0329.13
5.2.60.0040.0309.09
5.2.50.0060.0289.05
5.2.40.0070.0279.03
5.2.30.0040.0309.01
5.2.20.0040.0299.00
5.2.10.0060.0268.92
5.2.00.0050.0288.78
5.1.60.0030.0308.06
5.1.50.0040.0248.06
5.1.40.0030.0258.04
5.1.30.0050.0258.39
5.1.20.0020.0288.41
5.1.10.0030.0258.13
5.1.00.0030.0308.13
5.0.50.0040.0246.61
5.0.40.0020.0206.48
5.0.30.0040.0316.29
5.0.20.0030.0246.26
5.0.10.0040.0186.24
5.0.00.0020.0326.23
4.4.90.0020.0164.78
4.4.80.0030.0144.75
4.4.70.0020.0164.76
4.4.60.0010.0174.75
4.4.50.0050.0134.77
4.4.40.0020.0254.71
4.4.30.0040.0184.76
4.4.20.0020.0184.85
4.4.10.0040.0164.85
4.4.00.0050.0244.76
4.3.110.0040.0144.67
4.3.100.0000.0174.67
4.3.90.0020.0154.63
4.3.80.0020.0254.58
4.3.70.0030.0154.63
4.3.60.0020.0154.63
4.3.50.0030.0174.63
4.3.40.0040.0234.53
4.3.30.0030.0153.28
4.3.20.0010.0173.26
4.3.10.0010.0163.22
4.3.00.0100.01315.63

preferences:
55.5 ms | 401 KiB | 5 Q