3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(empty($_POST['name']) || empty($_POST['emailz']) || empty($_POST['phone']) || empty($_POST['message']) || !filter_var($_POST['emailz'],FILTER_VALIDATE_EMAIL)) { echo "No arguments Provided!!"; return false; } $name = $_POST['name']; $email = $_POST['emailz']; $phone = $_POST['phone']; $message = $_POST['message']; $headers = "From: noreply@yourdomain.com\n"; // This is the email address the generated message will be from $headers .= "Reply-To: $emailz"; $subject = 'New Message - Kieronboz.co.uk - $name'; $body = "You have received a new message from your website contact form.\n\n"."Here are the details:\n\nName: $name\n\nEmail: $emailz\n\nPhone: $phone\n\nMessage:\n$message"; mail("kieronboz@gmail.com",$subject,$body,$headers); return true; ?>

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.0040.01418.32
8.3.50.0130.00722.82
8.3.40.0210.00018.72
8.3.30.0070.00719.27
8.3.20.0000.00820.38
8.3.10.0060.00323.70
8.3.00.0080.00017.63
8.2.180.0110.00416.38
8.2.170.0110.01122.96
8.2.160.0000.01420.40
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00820.90
8.2.110.0060.00322.24
8.2.100.0070.00418.03
8.2.90.0030.00519.17
8.2.80.0050.00317.97
8.2.70.0000.00817.38
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0000.00718.22
8.2.30.0000.00918.08
8.2.20.0070.00017.57
8.2.10.0050.00217.98
8.2.00.0000.00717.60
8.1.280.0070.00725.92
8.1.270.0070.00724.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00318.75
8.1.230.0080.00319.00
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.38
8.1.190.0030.00517.13
8.1.180.0040.00418.10
8.1.170.0040.00418.65
8.1.160.0040.00421.93
8.1.150.0000.00718.75
8.1.140.0040.00417.45
8.1.130.0050.00317.77
8.1.120.0000.00717.39
8.1.110.0000.00817.42
8.1.100.0050.00217.30
8.1.90.0030.00517.29
8.1.80.0030.00317.29
8.1.70.0040.00417.35
8.1.60.0050.00317.47
8.1.50.0040.00417.37
8.1.40.0000.00817.37
8.1.30.0040.00417.46
8.1.20.0040.00417.57
8.1.10.0040.00417.55
8.1.00.0040.00417.43
8.0.300.0000.00718.77
8.0.290.0070.00016.62
8.0.280.0050.00218.41
8.0.270.0000.00717.13
8.0.260.0000.00717.21
8.0.250.0030.00316.75
8.0.240.0040.00416.89
8.0.230.0070.00016.91
8.0.220.0070.00016.81
8.0.210.0000.01016.73
8.0.200.0030.00316.79
8.0.190.0040.00416.81
8.0.180.0000.00816.77
8.0.170.0000.00716.90
8.0.160.0000.00816.97
8.0.150.0000.00716.68
8.0.140.0040.00416.77
8.0.130.0000.00613.23
8.0.120.0050.00216.82
8.0.110.0000.00716.66
8.0.100.0050.00216.73
8.0.90.0000.00716.86
8.0.80.0090.00616.79
8.0.70.0000.00816.71
8.0.60.0000.00716.81
8.0.50.0040.00416.66
8.0.30.0130.00917.16
8.0.20.0120.01017.40
8.0.10.0030.00417.08
8.0.00.0090.00816.65
7.4.330.0020.00215.03
7.4.320.0070.00016.45
7.4.300.0030.00316.55
7.4.290.0030.00316.40
7.4.280.0030.00416.40
7.4.270.0030.00316.42
7.4.260.0030.00316.51
7.4.250.0000.00816.54
7.4.240.0020.00516.48
7.4.230.0030.00316.43
7.4.220.0070.01316.37
7.4.210.0060.00916.58
7.4.200.0070.00016.55
7.4.160.0130.00716.43
7.4.150.0030.01617.40
7.4.140.0080.01017.86
7.4.130.0060.01016.53
7.4.120.0090.00816.45
7.4.110.0060.01716.45
7.4.100.0130.01016.52
7.4.90.0120.00616.43
7.4.80.0090.00919.39
7.4.70.0130.00916.45
7.4.60.0160.00716.63
7.4.50.0030.00516.36
7.4.40.0130.00316.48
7.4.30.0090.01216.43
7.4.10.0030.01615.15
7.4.00.0090.00614.71
7.3.330.0030.00313.05
7.3.320.0060.00013.10
7.3.310.0030.00316.27
7.3.300.0000.00716.12
7.3.290.0030.01016.26
7.3.280.0070.00816.21
7.3.270.0040.01417.40
7.3.260.0060.01216.48
7.3.250.0080.00916.37
7.3.240.0090.01216.15
7.3.230.0100.00616.43
7.3.210.0170.00516.36
7.3.200.0150.00619.39
7.3.190.0100.00716.14
7.3.180.0130.00316.34
7.3.170.0090.00916.27
7.3.160.0000.01716.24
7.3.130.0060.01314.63
7.3.120.0000.01614.92
7.3.110.0050.01314.78
7.3.100.0040.01214.86
7.3.90.0050.00814.56
7.3.80.0050.01114.91
7.3.70.0050.01014.62
7.3.60.0020.01314.71
7.3.50.0100.00114.50
7.3.40.0090.00314.69
7.3.30.0060.00614.74
7.3.20.0090.00316.41
7.3.10.0050.00916.45
7.3.00.0030.01216.54
7.2.330.0090.00916.63
7.2.320.0090.00916.59
7.2.310.0150.00916.71
7.2.300.0140.00516.72
7.2.290.0130.00316.39
7.2.260.0100.00714.92
7.2.250.0100.01014.86
7.2.240.0070.00914.76
7.2.230.0070.00815.21
7.2.220.0010.01315.13
7.2.210.0040.01014.98
7.2.200.0050.00815.03
7.2.190.0100.00614.86
7.2.180.0080.00814.94
7.2.170.0080.00614.82
7.2.160.0060.00615.14
7.2.150.0030.01316.69
7.2.140.0040.01216.68
7.2.130.0130.00316.55
7.2.120.0100.00316.77
7.2.110.0030.01416.76
7.2.100.0070.01116.89
7.2.90.0000.01616.95
7.2.80.0030.00916.57
7.2.70.0100.01016.77
7.2.60.0080.00816.88
7.2.50.0070.01116.82
7.2.40.0030.01316.97
7.2.30.0060.00917.05
7.2.20.0030.00616.72
7.2.10.0000.01416.86
7.2.00.0050.00718.13
7.1.330.0050.01015.72
7.1.320.0050.00915.68
7.1.310.0050.00815.81
7.1.300.0030.01015.54
7.1.290.0050.00715.60
7.1.280.0060.00515.45
7.1.270.0080.00715.75
7.1.260.0020.01315.72
7.1.250.0060.01015.73
7.1.240.0110.00315.93
7.1.230.0100.00615.72
7.1.220.0060.00615.64
7.1.210.0050.00515.57
7.1.200.0040.00715.55
7.1.190.0150.00315.71
7.1.180.0040.01115.44
7.1.170.0110.00015.58
7.1.160.0050.00515.67
7.1.150.0060.00315.55
7.1.140.0060.00915.73
7.1.130.0110.00015.36
7.1.120.0070.00715.55
7.1.110.0040.00815.90
7.1.100.0060.00816.69
7.1.90.0060.00315.43
7.1.80.0030.00615.48
7.1.70.0020.00816.31
7.1.60.0050.01317.61
7.1.50.0050.01416.21
7.1.40.0040.00815.68
7.1.30.0100.00715.89
7.1.20.0150.00315.49
7.1.10.0090.00615.61
7.1.00.0000.04619.05
7.0.330.0040.00415.25
7.0.320.0000.00915.14
7.0.310.0100.00315.33
7.0.300.0050.00515.29
7.0.290.0060.00915.11
7.0.280.0060.00814.98
7.0.270.0040.00815.26
7.0.260.0030.01015.32
7.0.250.0040.01115.25
7.0.240.0030.01015.16
7.0.230.0000.01015.25
7.0.220.0050.00515.21
7.0.210.0080.00415.31
7.0.200.0200.00814.85
7.0.190.0030.00915.40
7.0.180.0100.00314.98
7.0.170.0100.00315.23
7.0.160.0070.00715.19
7.0.150.0060.00915.48
7.0.140.0080.03718.78
7.0.130.0060.00615.22
7.0.120.0090.00315.25
7.0.110.0030.01415.20
7.0.100.0070.00715.44
7.0.90.0070.01015.18
7.0.80.0060.00315.39
7.0.70.0040.01115.22
7.0.60.0100.03317.63
7.0.50.0080.04216.54
7.0.40.0060.03516.79
7.0.30.0290.04016.71
7.0.20.0130.04016.67
7.0.10.0220.04016.65
7.0.00.0150.03716.60
5.6.400.0030.01014.48
5.6.390.0000.01414.50
5.6.380.0070.00714.51
5.6.370.0000.01214.48
5.6.360.0100.00314.27
5.6.350.0060.00914.17
5.6.340.0100.00714.09
5.6.330.0030.01014.14
5.6.320.0070.00714.23
5.6.310.0000.01714.39
5.6.300.0140.00014.51
5.6.290.0070.00314.48
5.6.280.0100.03517.76
5.6.270.0070.00714.23
5.6.260.0060.00614.44
5.6.250.0070.01014.45
5.6.240.0140.00314.22
5.6.230.0100.00714.11
5.6.220.0030.00614.65
5.6.210.0080.03317.54
5.6.200.0060.03716.23
5.6.190.0090.03917.52
5.6.180.0150.04217.44
5.6.170.0180.04217.23
5.6.160.0050.05017.31
5.6.150.0060.04316.23
5.6.140.0050.04516.24
5.6.130.0060.02416.34
5.6.120.0040.04217.66
5.6.110.0080.02317.59
5.6.100.0070.02117.56
5.6.90.0050.04217.77
5.6.80.0110.03317.34
5.6.70.2230.02717.25
5.6.60.0040.00814.36
5.6.50.0130.00314.23
5.6.40.0050.00514.13
5.6.30.0030.01014.33
5.6.20.0040.01214.48
5.6.10.0090.00014.32
5.6.00.0040.01214.29
5.5.380.0100.00714.18
5.5.370.0100.00414.25
5.5.360.0030.00714.45
5.5.350.0050.02717.27
5.5.340.0080.04016.04
5.5.330.0070.02817.33
5.5.320.0190.03117.25
5.5.310.0220.03917.23
5.5.300.0060.04316.09
5.5.290.0050.02716.15
5.5.280.0120.03817.48
5.5.270.0090.02517.49
5.5.260.0080.03517.60
5.5.250.0020.02817.40
5.5.240.0200.03317.11
5.5.230.0070.00314.34
5.5.220.0090.00014.13
5.5.210.0090.00414.49
5.5.200.0030.00914.37
5.5.190.0140.00314.11
5.5.180.0080.00014.29
5.5.170.0060.00914.19
5.5.160.0060.00614.04
5.5.150.0000.00914.33
5.5.140.0040.00814.33
5.5.130.0030.01014.29
5.5.120.0070.01414.31
5.5.110.0030.01314.20
5.5.100.0030.00914.27
5.5.90.0000.01413.67
5.5.80.0000.01514.09
5.5.70.0070.00714.34
5.5.60.0030.00914.01
5.5.50.0030.00613.96
5.5.40.0060.00313.97
5.5.30.0100.00713.95
5.5.20.0090.00614.25
5.5.10.0040.00814.02
5.5.00.0030.01013.90
5.4.450.0170.02515.69
5.4.440.0120.02915.75
5.4.430.0050.02715.76
5.4.420.0340.02515.76
5.4.410.0370.02415.65
5.4.400.0210.02215.55
5.4.390.0380.01615.54
5.4.380.0450.02815.24
5.4.370.0470.03315.31
5.4.360.0690.02315.22
5.4.350.0520.03115.28
5.4.340.0510.02515.28
5.4.330.0040.00411.96
5.4.320.0070.02112.21
5.4.310.0080.02012.21
5.4.300.0040.02312.21
5.4.290.0050.02512.21
5.4.280.0070.02612.15
5.4.270.0030.02312.15
5.4.260.0040.02212.15
5.4.250.0060.02212.15
5.4.240.0070.02012.15
5.4.230.0070.01912.15
5.4.220.0100.02212.15
5.4.210.0050.01812.15
5.4.200.0060.02212.15
5.4.190.0090.01912.15
5.4.180.0030.02512.15
5.4.170.0080.02512.15
5.4.160.0030.02112.15
5.4.150.0030.02112.15
5.4.140.0060.02111.99
5.4.130.0060.01811.98
5.4.120.0070.02011.96
5.4.110.0060.02211.96
5.4.100.0040.02311.96
5.4.90.0040.02111.96
5.4.80.0050.02211.96
5.4.70.0070.02111.96
5.4.60.0040.02111.96
5.4.50.0030.02111.96
5.4.40.0060.01911.96
5.4.30.0040.02211.95
5.4.20.0050.02111.95
5.4.10.0020.02711.95
5.4.00.0060.02411.70
5.3.290.0080.03612.80
5.3.280.0080.03512.71
5.3.270.0040.04112.73
5.3.260.0080.03712.72
5.3.250.0060.03612.72
5.3.240.0080.03712.72
5.3.230.0090.04412.71
5.3.220.0050.03712.68
5.3.210.0080.03612.68
5.3.200.0060.03712.68
5.3.190.0050.03812.68
5.3.180.0080.03512.67
5.3.170.0040.03912.67
5.3.160.0090.03212.67
5.3.150.0060.04512.68
5.3.140.0050.03712.66
5.3.130.0050.04012.66
5.3.120.0100.05112.66
5.3.110.0080.05312.66
5.3.100.0060.04112.12
5.3.90.0060.04312.08
5.3.80.0070.03512.07
5.3.70.0070.03912.07
5.3.60.0030.04312.07
5.3.50.0090.03212.00
5.3.40.0110.05812.00
5.3.30.0080.04911.94
5.3.20.0070.03511.73
5.3.10.0070.03311.69
5.3.00.0030.03711.68
5.2.170.0050.0369.18
5.2.160.0070.0279.18
5.2.150.0040.0309.18
5.2.140.0030.0369.18
5.2.130.0030.0389.14
5.2.120.0050.0289.14
5.2.110.0060.0389.15
5.2.100.0050.0289.13
5.2.90.0070.0269.14
5.2.80.0050.0339.13
5.2.70.0040.0319.13
5.2.60.0060.0289.09
5.2.50.0060.0349.05
5.2.40.0080.0379.04
5.2.30.0040.0299.01
5.2.20.0060.0299.01
5.2.10.0060.0328.93
5.2.00.0050.0288.79
5.1.60.0060.0288.08
5.1.50.0060.0228.08
5.1.40.0030.0268.05
5.1.30.0030.0288.41
5.1.20.0060.0258.43
5.1.10.0040.0268.16
5.1.00.0040.0258.15
5.0.50.0040.0196.63
5.0.40.0010.0216.50
5.0.30.0010.0336.31
5.0.20.0040.0186.28
5.0.10.0020.0216.25
5.0.00.0040.0306.25
4.4.90.0000.0174.78
4.4.80.0030.0164.75
4.4.70.0040.0224.75
4.4.60.0050.0234.75
4.4.50.0050.0204.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0020.0164.85
4.4.10.0040.0144.85
4.4.00.0000.0274.76
4.3.110.0020.0154.67
4.3.100.0020.0154.66
4.3.90.0030.0144.63
4.3.80.0020.0254.58
4.3.70.0040.0124.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0010.0264.54
4.3.30.0020.0183.30
4.3.20.0010.0183.27
4.3.10.0010.0163.23
4.3.00.0300.01313.43

preferences:
44.45 ms | 401 KiB | 5 Q