3v4l.org

run code in 300+ PHP versions simultaneously
<?php $message = "Delivered-To: tech@gynzy.com Received: by 10.76.22.228 with SMTP id h4csp404757oaf; Fri, 8 May 2015 04:27:34 -0700 (PDT) X-Received: by 10.194.176.225 with SMTP id cl1mr6240612wjc.45.1431084454326; Fri, 08 May 2015 04:27:34 -0700 (PDT) Return-Path: <> Received: from mailer.gynzy.com (mailer.gynzy.com. [178.237.33.10]) by mx.google.com with ESMTP id ei5si8668280wib.54.2015.05.08.04.27.33 for <tech@gynzy.com>; Fri, 08 May 2015 04:27:34 -0700 (PDT) Received-SPF: pass (google.com: domain of bounce@gynzy.com designates 178.237.33.10 as permitted sender) client-ip=178.237.33.10; Authentication-Results: mx.google.com; spf=pass (google.com: domain of bounce@gynzy.com designates 178.237.33.10 as permitted sender) smtp.mail=bounce@gynzy.com Delivered-To: bounce@gynzy.com X-Received: by 10.194.23.197 with SMTP id o5mr4443911wjf.75.1431084423907; Fri, 08 May 2015 04:27:03 -0700 (PDT) Received-SPF: none (google.com: ns3.gussinkloserver.nl does not designate permitted sender hosts) client-ip=2a02:cec0:10:6::1; Message-Id: <554c9d87.ee47c20a.3415.ffff863cSMTPIN_ADDED_MISSING@mx.google.com> Date: 8 May 2015 13:27:03 +0200 From: MAILER-DAEMON@gynzy.com (Mail Delivery System) To: bounce@gynzy.com Subject: BOUNCE SBMF - Brin(s): 03UB IT-coordinator email not received (bounced). (was failure notice) "; $bouncetype = 'HB'; $subject = 'current subject'; $originalsubject = 'original subject'; $message = preg_replace("/^Subject: .*$/m", "Subject: BOUNCE $bouncetype - $subject (was $originalsubject)", $message); $message = str_replace('Auto-Submitted: auto-replied', 'X-Gynzy-Origin: ICT-bounce', $message); // Fix nullmailer error $message = str_replace('Return-Path: <>', 'Return-Path: <bounce@gynzy.com>', $message); $message = str_replace('From: MAILER-DAEMON@gynzy.com (Mail Delivery System)', 'From: <postmaster@mailer.gynzy.com>', $message); $message = preg_replace("/^From: MAILER-DAEMON@.*$/m", "From: <postmaster@mailer.gynzy.com>", $message); echo($message); ?>

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.0140.00318.43
8.3.50.0120.01021.16
8.3.40.0120.00318.96
8.3.30.0120.00319.13
8.3.20.0040.00420.20
8.3.10.0080.00021.70
8.3.00.0000.00817.63
8.2.180.0090.00616.63
8.2.170.0060.00922.96
8.2.160.0080.00620.36
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00419.48
8.2.110.0140.00420.47
8.2.100.0040.00717.91
8.2.90.0000.00819.27
8.2.80.0040.00417.97
8.2.70.0030.00517.88
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0040.00420.07
8.2.30.0040.00418.12
8.2.20.0000.00817.79
8.2.10.0030.00518.13
8.2.00.0030.00717.82
8.1.280.0070.01425.92
8.1.270.0030.00520.34
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0080.00323.81
8.1.230.0080.00323.98
8.1.220.0050.00317.78
8.1.210.0000.00918.77
8.1.200.0060.00317.48
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0000.00820.46
8.1.160.0040.00421.89
8.1.150.0000.00718.93
8.1.140.0050.00317.58
8.1.130.0000.00717.88
8.1.120.0050.00217.50
8.1.110.0080.00017.63
8.1.100.0040.00417.59
8.1.90.0000.00817.63
8.1.80.0000.00717.51
8.1.70.0000.00717.63
8.1.60.0050.00317.71
8.1.50.0030.00617.54
8.1.40.0030.00717.54
8.1.30.0000.00817.80
8.1.20.0040.00417.82
8.1.10.0040.00417.57
8.1.00.0040.00417.52
8.0.300.0080.00018.77
8.0.290.0070.00017.00
8.0.280.0000.00718.51
8.0.270.0050.00317.18
8.0.260.0000.00617.20
8.0.250.0030.00317.12
8.0.240.0070.00017.16
8.0.230.0000.00717.15
8.0.220.0030.00317.13
8.0.210.0030.00316.96
8.0.200.0030.00317.03
8.0.190.0040.00417.17
8.0.180.0040.00417.17
8.0.170.0030.00517.10
8.0.160.0060.00317.08
8.0.150.0070.00017.04
8.0.140.0040.00417.09
8.0.130.0000.00713.55
8.0.120.0030.00517.04
8.0.110.0040.00417.07
8.0.100.0030.00617.03
8.0.90.0040.00417.05
8.0.80.0120.00917.01
8.0.70.0070.00017.15
8.0.60.0000.00717.04
8.0.50.0040.00416.97
8.0.30.0090.00817.29
8.0.20.0110.00817.40
8.0.10.0040.00417.21
8.0.00.0080.01016.86
7.4.330.0000.00515.11
7.4.320.0030.00316.79
7.4.300.0030.00316.79
7.4.290.0030.00316.68
7.4.280.0000.01116.71
7.4.270.0080.00016.71
7.4.260.0070.00016.68
7.4.250.0000.00916.63
7.4.240.0050.00216.74
7.4.230.0030.00316.63
7.4.220.0070.01016.63
7.4.210.0040.01816.80
7.4.200.0030.00316.64
7.4.160.0100.01016.63
7.4.150.0090.00917.40
7.4.140.0150.00617.86
7.4.130.0030.01616.71
7.4.120.0100.00816.71
7.4.110.0070.01716.63
7.4.100.0110.00716.62
7.4.90.0090.00916.50
7.4.80.0160.00019.39
7.4.70.0120.01216.67
7.4.60.0070.01016.92
7.4.50.0000.00516.57
7.4.40.0080.01416.61
7.4.30.0140.01016.70
7.4.00.0030.01315.19
7.3.330.0000.00513.21
7.3.320.0140.00413.18
7.3.310.0000.00716.41
7.3.300.0070.00016.49
7.3.290.0060.01016.45
7.3.280.0100.00716.51
7.3.270.0150.00417.40
7.3.260.0070.01116.39
7.3.250.0140.00916.68
7.3.240.0090.01216.80
7.3.230.0130.01016.83
7.3.210.0160.00616.62
7.3.200.0160.00319.39
7.3.190.0120.00916.30
7.3.180.0230.02116.44
7.3.170.0130.00316.35
7.3.160.0030.01316.41
7.3.10.0070.00716.39
7.3.00.0140.00016.84
7.2.330.0120.00616.86
7.2.320.0060.01216.71
7.2.310.0030.01416.85
7.2.300.0030.01416.63
7.2.290.0110.00716.79
7.2.130.0030.01517.19
7.2.120.0050.00517.11
7.2.110.0070.00417.00
7.2.100.0090.00017.10
7.2.90.0030.00617.07
7.2.80.0090.00317.15
7.2.70.0070.00417.16
7.2.60.0040.00817.02
7.2.50.0030.01017.22
7.2.40.0060.00516.88
7.2.30.0060.00617.12
7.2.20.0030.00717.17
7.2.10.0080.00417.13
7.2.00.0080.00518.23
7.1.250.0060.00315.86
7.1.100.0000.01218.48
7.1.70.0060.00317.01
7.1.60.0070.01819.50
7.1.50.0100.01317.24
7.1.00.0030.07722.45
7.0.200.0000.01017.00
7.0.140.0070.07021.95
7.0.60.0030.04019.93
7.0.50.0070.06717.89
7.0.40.0100.08320.11
7.0.30.0230.04720.29
7.0.20.0230.05320.11
7.0.10.0230.08320.18
7.0.00.0070.05020.01
5.6.280.0030.07321.13
5.6.210.0100.05720.68
5.6.200.0130.08018.19
5.6.190.0100.06320.27
5.6.180.0200.05320.40
5.6.170.0330.05720.43
5.6.160.0130.03320.47
5.6.150.0030.04018.11
5.6.140.0030.08318.14
5.6.130.0070.08718.12
5.6.120.0100.07721.01
5.6.110.0100.04720.98
5.6.100.0070.07720.98
5.6.90.0030.09021.13
5.6.80.0030.07720.28
5.6.70.0300.07720.34
5.5.350.0170.07320.45
5.5.340.0000.05717.97
5.5.330.0000.06720.32
5.5.320.0270.07720.44
5.5.310.0400.05720.28
5.5.300.0130.07317.89
5.5.290.0070.05017.98
5.5.280.0070.04320.80
5.5.270.0070.08320.86
5.5.260.0070.08020.86
5.5.250.0100.08020.70
5.5.240.0130.06020.13
5.4.450.0300.06019.49
5.4.440.0670.06719.59
5.4.430.0900.05019.39
5.4.420.0700.05719.10
5.4.410.0200.04719.00
5.4.400.0430.06018.81
5.4.390.0500.05718.69
5.4.380.0300.05718.74
5.4.370.0270.06018.71
5.4.360.0370.05718.66
5.4.350.0470.06718.50
5.4.340.0400.06018.61
5.4.320.0300.06018.74
5.4.310.0500.05718.68
5.4.300.0500.04718.58
5.4.290.0330.05718.77
5.4.280.0300.05718.65
5.4.270.0470.09018.65
5.4.260.0400.07018.51
5.4.250.0400.06018.59
5.4.240.0670.06318.46
5.4.230.0430.04718.56
5.4.220.0430.05718.48
5.4.210.0400.06718.45
5.4.200.0330.05016.43
5.4.190.0400.06318.45
5.4.180.0430.06018.59
5.4.170.0170.07318.45
5.4.160.0400.06318.59
5.4.150.0500.03718.66
5.4.140.0430.05716.21
5.4.130.0400.05316.12
5.4.120.0500.06316.13
5.4.110.0330.07016.05
5.4.100.0300.06016.08
5.4.90.0230.06316.27
5.4.80.0300.05716.07
5.4.70.0470.06016.29
5.4.60.0370.05316.14
5.4.50.0400.04716.04
5.4.40.0400.07016.15
5.4.30.0470.06016.27
5.4.20.0230.06016.17
5.4.10.0400.06016.19
5.4.00.0570.06715.59
5.3.290.0330.08714.76
5.3.280.0400.06714.59
5.3.270.0400.08314.67
5.3.260.0230.06714.60
5.3.250.0500.05014.70
5.3.240.0470.05714.54
5.3.230.0270.05714.59
5.3.220.0270.05714.50
5.3.210.0500.06314.57
5.3.200.0530.05014.60
5.3.190.0330.05014.52
5.3.180.0400.04714.64
5.3.170.0300.08314.47
5.3.160.0300.05314.54
5.3.150.0430.06314.64
5.3.140.0400.05314.51
5.3.130.0430.05714.62
5.3.120.0300.06714.48
5.3.110.0470.05014.64
5.3.100.0230.06014.14
5.3.90.0370.05713.95
5.3.80.0300.04714.00
5.3.70.0400.05314.18
5.3.60.0500.06013.92
5.3.50.0400.06713.91
5.3.40.0500.05313.91
5.3.30.0500.05713.86
5.3.20.0400.06313.77
5.3.10.0430.06313.66
5.3.00.0270.05313.63
5.2.170.0230.04311.19
5.2.160.0170.04711.29
5.2.150.0270.04011.09
5.2.140.0200.05311.12
5.2.130.0400.05011.25
5.2.120.0400.05311.18
5.2.110.0430.04711.16
5.2.100.0300.06311.02
5.2.90.0300.06011.32
5.2.80.0470.04711.33
5.2.70.0330.04711.05
5.2.60.0470.05011.11
5.2.50.0370.03311.05
5.2.40.0270.04011.06
5.2.30.0330.04310.97
5.2.20.0230.04710.90
5.2.10.0170.05310.90
5.2.00.0230.04010.72
5.1.60.0300.02710.00
5.1.50.0200.0379.95
5.1.40.0200.0479.95
5.1.30.0200.03310.33
5.1.20.0300.03710.39
5.1.10.0170.03310.14
5.1.00.0100.04310.09
5.0.50.0070.0338.57
5.0.40.0000.0438.52
5.0.30.0200.0438.33
5.0.20.0070.0338.22
5.0.10.0300.0278.37
5.0.00.0170.0538.25
4.4.90.0070.0305.93
4.4.80.0200.0235.94
4.4.70.0200.0235.90
4.4.60.0170.0275.92
4.4.50.0130.0235.93
4.4.40.0100.0375.88
4.4.30.0130.0235.83
4.4.20.0130.0235.98
4.4.10.0100.0275.95
4.4.00.0070.0405.97
4.3.110.0100.0235.89
4.3.100.0100.0235.81
4.3.90.0200.0175.79
4.3.80.0000.0435.81
4.3.70.0100.0205.91
4.3.60.0070.0235.79
4.3.50.0070.0235.81
4.3.40.0170.0375.75
4.3.30.0100.0204.64
4.3.20.0070.0204.63
4.3.10.0030.0234.52
4.3.00.0130.0206.75

preferences:
48.15 ms | 401 KiB | 5 Q