3v4l.org

run code in 300+ PHP versions simultaneously
<?php //if "email" variable is filled out, send email if (isset($_REQUEST['email'])) { //Email information $admin_email = "someone@example.com"; $email = $_REQUEST['email']; $subject = $_REQUEST['subject']; $comment = $_REQUEST['comment']; //send email mail($admin_email, "$subject", $comment, "From:" . $email); //Email response echo "Thank you for contacting us!"; } //if "email" variable is not filled out, display the form else { ?> <form method="post"> Email: <input name="email" type="text" /><br /> Subject: <input name="subject" type="text" /><br /> Message:<br /> <textarea name="comment" rows="15" cols="40"></textarea><br /> <input type="submit" value="Submit" /> </form> <?php } ?>

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.70.0100.01016.58
8.3.60.0070.00718.43
8.3.50.0070.01122.05
8.3.40.0120.00318.51
8.3.30.0140.00019.21
8.3.20.0040.00420.34
8.3.10.0080.00023.48
8.3.00.0060.00321.00
8.2.180.0140.00316.32
8.2.170.0070.00722.96
8.2.160.0130.00020.33
8.2.150.0120.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.22
8.2.110.0040.00722.31
8.2.100.0090.00317.72
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0030.00517.63
8.2.60.0000.00918.04
8.2.50.0030.00618.07
8.2.40.0000.00919.95
8.2.30.0000.00718.15
8.2.20.0080.00017.67
8.2.10.0040.00418.04
8.2.00.0040.00419.53
8.1.280.0140.00025.92
8.1.270.0080.00023.99
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0090.00022.80
8.1.230.0110.00020.31
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0030.00617.23
8.1.180.0080.00018.10
8.1.170.0090.00018.71
8.1.160.0030.00522.05
8.1.150.0070.00018.53
8.1.140.0080.00017.43
8.1.130.0000.00717.68
8.1.120.0090.00017.45
8.1.110.0050.00317.37
8.1.100.0040.00417.32
8.1.90.0030.00317.35
8.1.80.0040.00417.32
8.1.70.0080.00017.36
8.1.60.0030.00517.40
8.1.50.0040.00417.46
8.1.40.0060.00317.50
8.1.30.0060.00317.45
8.1.20.0000.00717.56
8.1.10.0000.00817.41
8.1.00.0060.00317.43
8.0.300.0040.00418.77
8.0.290.0040.00416.58
8.0.280.0000.00718.42
8.0.270.0000.00717.22
8.0.260.0000.00617.11
8.0.250.0030.00316.79
8.0.240.0000.01016.89
8.0.230.0030.00316.77
8.0.220.0060.00016.85
8.0.210.0030.00516.67
8.0.200.0000.00816.89
8.0.190.0080.00016.79
8.0.180.0030.00616.87
8.0.170.0080.00016.85
8.0.160.0040.00316.79
8.0.150.0030.00316.79
8.0.140.0030.00516.73
8.0.130.0000.00613.24
8.0.120.0040.00416.70
8.0.110.0000.00716.73
8.0.100.0040.00416.83
8.0.90.0040.00416.76
8.0.80.0090.01216.82
8.0.70.0050.00316.89
8.0.60.0000.00716.70
8.0.50.0000.00716.82
8.0.30.0090.00916.77
8.0.20.0100.00817.40
8.0.10.0030.00516.81
8.0.00.0070.01216.63
7.4.330.0020.00215.08
7.4.320.0060.00016.53
7.4.300.0000.00616.55
7.4.290.0000.00816.47
7.4.280.0080.00016.39
7.4.270.0040.00416.48
7.4.260.0000.00716.39
7.4.250.0000.00716.40
7.4.240.0030.00316.46
7.4.230.0070.00016.36
7.4.220.0060.01216.65
7.4.210.0100.01016.54
7.4.200.0040.00416.41
7.4.160.0160.00016.53
7.4.150.0100.01617.40
7.4.140.0120.00717.86
7.4.130.0110.00616.61
7.4.120.0100.00716.46
7.4.110.0100.00716.46
7.4.100.0180.00716.46
7.4.90.0070.01116.50
7.4.80.0080.01119.39
7.4.70.0030.01316.38
7.4.60.0120.00616.45
7.4.50.0000.00816.58
7.4.40.0080.01516.70
7.4.30.0080.00816.30
7.4.10.0100.00714.98
7.4.00.0070.00914.77
7.3.330.0060.00013.04
7.3.320.0030.00313.09
7.3.310.0030.00316.30
7.3.300.0000.00616.01
7.3.290.0110.00416.26
7.3.280.0050.01116.22
7.3.270.0140.00417.40
7.3.260.0060.01316.16
7.3.250.0120.00516.46
7.3.240.0130.00316.29
7.3.230.0090.00616.39
7.3.210.0100.00716.39
7.3.200.0100.00719.39
7.3.190.0100.00716.50
7.3.180.0090.00616.31
7.3.170.0090.00616.27
7.3.160.0090.00916.24
7.3.130.0090.00614.63
7.3.120.0100.00314.67
7.3.110.0120.00614.79
7.3.100.0130.00014.67
7.3.90.0110.00314.78
7.3.80.0100.00314.63
7.3.70.0060.00614.45
7.3.60.0030.00714.69
7.3.50.0040.00414.66
7.3.40.0060.00914.72
7.3.30.0030.00714.48
7.3.20.0040.00416.62
7.3.10.0060.00616.46
7.3.00.0040.01116.29
7.2.330.0140.00516.54
7.2.320.0060.00916.62
7.2.310.0140.00316.38
7.2.300.0120.00416.60
7.2.290.0130.00716.56
7.2.260.0100.00715.13
7.2.250.0030.01214.64
7.2.240.0070.00714.60
7.2.230.0030.00915.09
7.2.220.0030.00715.01
7.2.210.0000.01415.03
7.2.200.0060.00614.76
7.2.190.0100.00715.04
7.2.180.0040.00714.75
7.2.170.0040.01115.00
7.2.160.0030.01414.76
7.2.150.0040.00716.67
7.2.140.0070.00716.79
7.2.130.0000.01416.75
7.2.120.0070.01017.00
7.2.110.0060.00616.69
7.2.100.0000.01116.86
7.2.90.0100.00716.92
7.2.80.0030.01316.63
7.2.70.0070.00716.77
7.2.60.0050.00716.87
7.2.50.0070.01116.74
7.2.40.0040.01116.89
7.2.30.0030.01216.78
7.2.20.0060.00916.74
7.2.10.0000.00916.89
7.2.00.0040.01216.89
7.1.330.0060.00615.55
7.1.320.0030.01415.55
7.1.310.0030.00615.50
7.1.300.0070.00715.58
7.1.290.0030.00715.74
7.1.280.0080.00315.58
7.1.270.0030.01015.57
7.1.260.0000.01915.74
7.1.250.0040.00815.59
7.1.240.0110.00415.38
7.1.230.0120.00015.48
7.1.220.0060.00615.79
7.1.210.0100.00015.76
7.1.200.0020.01115.49
7.1.190.0030.01015.51
7.1.180.0060.00615.36
7.1.170.0040.01115.37
7.1.160.0040.00715.63
7.1.150.0030.01015.55
7.1.140.0000.01415.51
7.1.130.0070.00315.70
7.1.120.0080.00415.57
7.1.110.0060.00615.68
7.1.100.0040.00815.60
7.1.90.0000.00915.67
7.1.80.0770.00715.52
7.1.70.0370.01015.89
7.1.60.0550.01221.96
7.1.50.0560.01221.67
7.1.40.0490.00921.59
7.1.30.0680.00921.49
7.1.20.0600.00921.64
7.1.10.0540.01015.58
7.1.00.0630.00615.63
7.0.330.0040.00815.18
7.0.320.0000.01115.14
7.0.310.0000.01315.04
7.0.300.0040.00815.23
7.0.290.0000.00815.36
7.0.280.0030.01015.37
7.0.270.0090.00015.05
7.0.260.0000.00915.11
7.0.250.0030.00515.29
7.0.240.0040.01115.39
7.0.230.0000.01115.23
7.0.220.0030.01015.07
7.0.210.0000.01415.13
7.0.200.0550.00515.59
7.0.190.0550.00715.54
7.0.180.0470.00815.23
7.0.170.0590.00515.13
7.0.160.0560.00915.19
7.0.150.0600.00715.30
7.0.140.0630.00515.11
7.0.130.0550.00515.52
7.0.120.0520.00815.41
7.0.110.0540.01015.23
7.0.100.0630.00915.33
7.0.90.0570.00715.30
7.0.80.0620.01015.32
7.0.70.0710.00915.25
7.0.60.0550.00815.29
7.0.50.0500.00815.22
7.0.40.0570.01314.37
7.0.30.0620.00514.35
7.0.20.0700.00714.32
7.0.10.0710.00614.47
7.0.00.0680.00914.40
5.6.400.0070.01014.06
5.6.390.0040.00714.50
5.6.380.0040.00814.03
5.6.370.0090.00314.06
5.6.360.0030.01014.27
5.6.350.0000.00913.95
5.6.340.0070.00414.21
5.6.330.0000.01414.23
5.6.320.0060.00614.66
5.6.310.0110.00014.27
5.6.300.0060.05018.57
5.6.290.0070.04218.61
5.6.280.0080.03618.70
5.6.270.0070.04318.64
5.6.260.0050.03818.76
5.6.250.0080.03818.80
5.6.240.0060.04418.71
5.6.230.0080.03818.64
5.6.220.0070.04218.57
5.6.210.0040.04218.58
5.6.200.0090.04318.59
5.6.190.0060.05518.60
5.6.180.0110.03518.64
5.6.170.0070.04318.52
5.6.160.0080.04118.62
5.6.150.0090.04318.52
5.6.140.0090.04418.58
5.6.130.0060.04518.74
5.6.120.0100.03918.58
5.6.110.0080.04218.53
5.6.100.0030.04118.64
5.6.90.0090.04218.61
5.6.80.0150.03618.27
5.6.70.0120.03518.33
5.6.60.0070.04818.29
5.6.50.0110.04118.28
5.6.40.0110.03618.19
5.6.30.0090.03818.10
5.6.20.0100.04118.14
5.6.10.0140.03418.17
5.6.00.0090.03918.25
5.5.380.0120.07617.52
5.5.370.0110.04717.43
5.5.360.0090.05417.52
5.5.350.0170.05017.48
5.5.340.0050.05317.93
5.5.330.0100.05017.96
5.5.320.0100.04917.98
5.5.310.0060.06217.81
5.5.300.0120.05517.93
5.5.290.0140.05017.90
5.5.280.0080.06217.81
5.5.270.0050.05818.00
5.5.260.0160.04417.88
5.5.250.0130.05417.80
5.5.240.0090.05317.22
5.5.230.0080.06817.26
5.5.220.0110.05417.16
5.5.210.0080.05517.37
5.5.200.0060.06117.27
5.5.190.0110.06217.23
5.5.180.0050.06017.24
5.5.160.0060.05317.24
5.5.150.0080.04517.26
5.5.140.0140.03917.30
5.5.130.0100.04117.36
5.5.120.0070.05017.30
5.5.110.0060.06317.26
5.5.100.0120.06317.22
5.5.90.0120.05017.15
5.5.80.0090.04517.16
5.5.70.0090.05817.12
5.5.60.0050.06117.25
5.5.50.0140.04417.32
5.5.40.0070.05117.10
5.5.30.0080.04917.15
5.5.20.0050.05917.20
5.5.10.0150.04817.06
5.5.00.0040.05217.15
5.4.450.0150.05419.27
5.4.440.0100.05219.30
5.4.430.0100.04419.37
5.4.420.0090.05819.34
5.4.410.0160.05919.17
5.4.400.0100.05119.05
5.4.390.0000.07418.98
5.4.380.0110.07119.02
5.4.370.0080.06419.02
5.4.360.0090.05319.06
5.4.350.0140.06118.92
5.4.340.0100.06518.93
5.4.320.0100.04818.99
5.4.310.0070.04618.99
5.4.300.0090.04418.99
5.4.290.0080.04519.06
5.4.280.0080.04519.05
5.4.270.0110.05718.86
5.4.260.0060.05919.16
5.4.250.0160.04818.93
5.4.240.0090.05119.02
5.4.230.0070.05019.07
5.4.220.0080.06219.07
5.4.210.0170.05219.00
5.4.200.0050.05419.10
5.4.190.0100.04419.05
5.4.180.0060.04919.05
5.4.170.0040.05719.01
5.4.160.0050.05219.06
5.4.150.0050.05519.09
5.4.140.0140.04216.36
5.4.130.0050.05016.56
5.4.120.0090.04816.54
5.4.110.0110.04716.52
5.4.100.0040.05616.49
5.4.90.0050.05116.45
5.4.80.0080.05216.53
5.4.70.0080.05316.61
5.4.60.0130.04916.44
5.4.50.0080.05216.46
5.4.40.0070.04916.59
5.4.30.0120.04316.51
5.4.20.0030.04916.47
5.4.10.0050.04516.52
5.4.00.0080.04415.93
5.3.290.0030.05315.01
5.3.280.0160.04715.02
5.3.270.0140.04815.06
5.3.260.0070.04814.95
5.3.250.0070.05114.95
5.3.240.0070.04615.06
5.3.230.0130.04714.97
5.3.220.0140.05615.02
5.3.210.0070.05915.05
5.3.200.0210.04314.96
5.3.190.0050.05515.04
5.3.180.0030.05815.05
5.3.170.0090.05414.94
5.3.160.0050.05114.96
5.3.150.0050.05615.04
5.3.140.0120.04814.95
5.3.130.0110.04215.05
5.3.120.0030.05014.95
5.3.110.0030.06015.00
5.3.100.0040.04814.77
5.3.90.0080.06614.70
5.3.80.0120.04614.79
5.3.70.0080.04914.73
5.3.60.0100.04914.68
5.3.50.0020.05514.70
5.3.40.0080.04114.73
5.3.30.0100.03714.66
5.3.20.0100.04414.61
5.3.10.0050.05214.54
5.3.00.0070.05314.47
5.2.170.0030.04013.25
5.2.160.0030.03613.25
5.2.150.0060.03513.37
5.2.140.0050.04213.24
5.2.130.0060.04013.36
5.2.120.0080.03713.23
5.2.110.0070.03613.29
5.2.100.0040.04013.20
5.2.90.0050.04013.28
5.2.80.0030.04313.34
5.2.70.0110.04113.30
5.2.60.0030.04413.28
5.2.50.0070.04313.10
5.2.40.0100.05113.17
5.2.30.0050.04313.26
5.2.20.0080.04013.27
5.2.10.0070.03313.17
5.2.00.0050.03913.12
5.1.60.0050.04412.70
5.1.50.0050.02912.83
5.1.40.0030.03712.77
5.1.30.0050.03712.92
5.1.20.0080.04012.88
5.1.10.0050.03612.81
5.1.00.0110.03412.76
5.0.50.0060.04211.89
5.0.40.0040.02711.90
5.0.30.0060.04511.95
5.0.20.0050.02511.91
5.0.10.0050.02911.91
5.0.00.0020.03811.85
4.4.90.0080.02410.87
4.4.80.0050.02010.87
4.4.70.0020.03010.87
4.4.60.0030.02310.87
4.4.50.0030.02010.87
4.4.40.0060.02910.87
4.4.30.0050.02010.87
4.4.20.0030.02010.87
4.4.10.0030.02810.87
4.4.00.0060.03010.87
4.3.110.0060.02210.87
4.3.100.0030.01910.87
4.3.90.0030.03010.87
4.3.80.0030.04210.87
4.3.70.0020.02210.87
4.3.60.0010.02110.87
4.3.50.0020.02110.87
4.3.40.0020.02910.87
4.3.30.0030.02310.87
4.3.20.0020.02410.87
4.3.10.0020.02310.87
4.3.00.0010.02410.87

preferences:
61.65 ms | 401 KiB | 5 Q