3v4l.org

run code in 300+ PHP versions simultaneously
<?php $NAME = $_POST['NAME']; if(empty($NAME)) { echo "<h2>text</h2>\n" ; die ("text."); } ?> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="text"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css.css"> <script src="js.js"></script> <link rel="icon" href="favicon.png"> <title>text</title> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <div class="container"> <div class="starter-template"> <h1> text <?php echo $NAME?></h1> <br> <div class="progress"> <div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%"> </div> </div> </div> </div> <?php exec("/var/www/script.sh $NAME"); ?>

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.0100.00718.20
8.3.50.0100.00821.10
8.3.40.0040.01118.85
8.3.30.0100.00719.09
8.3.20.0070.00020.17
8.3.10.0080.00023.68
8.3.00.0090.00019.38
8.2.180.0100.00716.50
8.2.170.0070.00722.96
8.2.160.0150.00320.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.49
8.2.110.0060.00322.13
8.2.100.0040.00817.63
8.2.90.0040.00419.20
8.2.80.0050.00317.97
8.2.70.0050.00317.63
8.2.60.0030.00518.05
8.2.50.0000.00818.07
8.2.40.0000.00819.94
8.2.30.0040.00418.03
8.2.20.0040.00417.84
8.2.10.0040.00418.20
8.2.00.0060.00317.84
8.1.280.0070.00725.92
8.1.270.0070.01022.01
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.88
8.1.230.0000.01217.82
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0040.00417.11
8.1.180.0060.00318.10
8.1.170.0090.00018.50
8.1.160.0070.00022.00
8.1.150.0080.00018.74
8.1.140.0080.00017.44
8.1.130.0000.00717.74
8.1.120.0070.00017.35
8.1.110.0000.00717.42
8.1.100.0000.00717.36
8.1.90.0000.00717.44
8.1.80.0030.00517.38
8.1.70.0070.00017.38
8.1.60.0040.00417.51
8.1.50.0000.00817.50
8.1.40.0050.00317.54
8.1.30.0030.00617.66
8.1.20.0000.00817.51
8.1.10.0030.00517.57
8.1.00.0000.00817.55
8.0.300.0040.00418.77
8.0.290.0030.00716.75
8.0.280.0000.00818.48
8.0.270.0040.00417.14
8.0.260.0000.00617.26
8.0.250.0030.00317.02
8.0.240.0050.00217.03
8.0.230.0000.00716.98
8.0.220.0040.00416.96
8.0.210.0030.00316.84
8.0.200.0000.00617.01
8.0.190.0030.00316.91
8.0.180.0040.00416.88
8.0.170.0040.00416.96
8.0.160.0060.00316.82
8.0.150.0000.00716.92
8.0.140.0040.00416.90
8.0.130.0060.00013.36
8.0.120.0000.00816.86
8.0.110.0030.00516.86
8.0.100.0030.00517.07
8.0.90.0050.00316.82
8.0.80.0130.00716.85
8.0.70.0080.00017.00
8.0.60.0000.00716.79
8.0.50.0040.00416.84
8.0.30.0150.00617.16
8.0.20.0170.00517.40
8.0.10.0030.00517.20
8.0.00.0080.00816.66
7.4.330.0000.00515.09
7.4.320.0030.00316.50
7.4.300.0030.00316.61
7.4.290.0000.00816.52
7.4.280.0000.00816.60
7.4.270.0070.00016.58
7.4.260.0070.00016.41
7.4.250.0070.00016.52
7.4.240.0020.00516.62
7.4.230.0020.00516.58
7.4.220.0060.01316.61
7.4.210.0130.00016.57
7.4.200.0050.00216.70
7.4.160.0080.00816.66
7.4.150.0120.01217.40
7.4.140.0070.01417.86
7.4.130.0100.00616.46
7.4.120.0100.00816.62
7.4.110.0130.00716.45
7.4.100.0120.00616.50
7.4.90.0100.00616.46
7.4.80.0130.00319.39
7.4.70.0060.01016.46
7.4.60.0170.00016.55
7.4.50.0050.00316.37
7.4.40.0030.01316.51
7.4.30.0140.00316.50
7.4.00.0050.01215.06
7.3.330.0030.00313.20
7.3.320.0030.00313.18
7.3.310.0070.00016.36
7.3.300.0030.00316.27
7.3.290.0050.00816.26
7.3.280.0110.00616.23
7.3.270.0100.01317.40
7.3.260.0130.00616.39
7.3.250.0120.00616.32
7.3.240.0140.00316.52
7.3.230.0000.01716.39
7.3.210.0030.01516.36
7.3.200.0170.00719.39
7.3.190.0060.01216.47
7.3.180.0070.01016.36
7.3.170.0110.00616.36
7.3.160.0050.01016.54
7.3.120.0000.01814.57
7.3.110.0040.00814.69
7.3.100.0040.01214.80
7.3.90.0090.00314.98
7.3.80.0130.00014.87
7.3.70.0090.00614.93
7.3.60.0030.00814.88
7.3.50.0090.00314.66
7.3.40.0030.01014.83
7.3.30.0030.01014.76
7.3.20.0060.00616.67
7.3.10.0070.01116.66
7.3.00.0060.01116.56
7.2.330.0130.00616.59
7.2.320.0120.01016.69
7.2.310.0100.00716.79
7.2.300.0090.00916.64
7.2.290.0090.00916.48
7.2.250.0090.00915.00
7.2.240.0030.01415.18
7.2.230.0120.00315.00
7.2.220.0070.00714.93
7.2.210.0070.00714.98
7.2.200.0070.01114.78
7.2.190.0070.01115.14
7.2.180.0030.01414.97
7.2.170.0040.00715.04
7.2.00.0070.01019.05
7.1.330.0070.00715.65
7.1.320.0060.01015.80
7.1.310.0100.00715.89
7.1.300.0060.00615.88
7.1.290.0060.00915.93
7.1.280.0090.00315.74
7.1.270.0000.01515.50
7.1.260.0050.00515.98
7.1.200.0070.00315.80
7.1.100.0100.00318.24
7.1.70.0000.00817.16
7.1.60.0140.01119.11
7.1.50.0110.01116.80
7.1.00.0070.07322.54
7.0.200.0000.01016.66
7.0.140.0070.07021.95
7.0.60.0300.07719.87
7.0.50.0030.07717.83
7.0.40.0000.05019.96
7.0.30.0270.04020.13
7.0.20.0200.04019.99
7.0.10.0130.08320.13
7.0.00.0230.06720.23
5.6.280.0070.07021.09
5.6.210.0070.08020.54
5.6.200.0070.08318.22
5.6.190.0070.08020.43
5.6.180.0230.04020.39
5.6.170.0370.07020.45
5.6.160.0100.03720.38
5.6.150.0030.05018.15
5.6.140.0170.03318.21
5.6.130.0170.06318.15
5.6.120.0100.04720.88
5.6.110.0030.07020.98
5.6.100.0100.04021.00
5.6.90.0100.07321.05
5.6.80.0000.09320.53
5.5.350.4200.04720.46
5.5.340.0100.07717.93
5.5.330.0170.06720.15
5.5.320.0330.06320.28
5.5.310.0270.06320.29
5.5.300.0200.06718.02
5.5.290.0130.07717.92
5.5.280.0100.08020.96
5.5.270.0030.04320.84
5.5.260.0000.09320.73
5.5.250.0130.08020.49
5.5.240.0130.06020.18
5.4.450.3970.03719.20
5.4.440.0070.06719.32
5.4.430.1630.03719.49
5.4.420.3570.04019.56
5.4.410.3270.03019.29
5.4.400.3670.05019.13
5.4.390.3130.04018.89
5.4.380.2570.03318.97
5.4.370.3930.03319.15
5.4.360.3670.04318.97
5.4.350.3900.03719.16
5.4.340.3530.04018.86
5.4.320.3600.04018.88
5.4.310.3730.04318.89
5.4.300.4130.04018.92
5.4.290.3770.04019.12
5.4.280.4000.03318.86
5.4.270.3800.04018.89
5.4.260.3630.02719.05
5.4.250.3870.03319.16
5.4.240.3800.03718.88
5.4.230.4070.04019.04
5.4.220.4570.04318.88
5.4.210.3670.04019.14
5.4.200.3430.04019.17
5.4.190.4770.03318.89
5.4.180.3570.04019.13
5.4.170.3670.04019.07
5.4.160.4170.02718.91
5.4.150.4530.03718.85
5.4.140.4470.04016.32
5.4.130.4270.02716.38
5.4.120.4230.03716.38
5.4.110.4230.04016.33
5.4.100.4370.04016.38
5.4.90.4130.03716.25
5.4.80.3830.04016.48
5.4.70.3900.02716.34
5.4.60.3770.03316.24
5.4.50.3670.03716.54
5.4.40.3530.03316.30
5.4.30.3530.04016.34
5.4.20.4000.04016.46
5.4.10.4530.03316.23
5.4.00.4000.03315.62
5.3.290.3800.03314.60
5.3.280.4530.03714.41
5.3.270.3470.04014.52
5.3.260.4000.03714.59
5.3.250.4500.03014.61
5.3.240.4200.03714.55
5.3.230.3930.03314.52
5.3.220.3470.03314.51
5.3.210.4500.03714.50
5.3.200.4030.03314.48
5.3.190.3870.03714.46
5.3.180.3500.04014.38
5.3.170.3800.04314.48
5.3.160.3600.03314.43
5.3.150.3630.03714.48
5.3.140.3730.03714.34
5.3.130.3600.03314.36
5.3.120.4230.04014.55
5.3.110.4100.03314.47
5.3.100.4470.03313.96
5.3.90.4130.03713.96
5.3.80.4230.03713.96
5.3.70.4530.04013.96
5.3.60.3730.03313.82
5.3.50.3570.03313.91
5.3.40.4070.03713.76
5.3.30.3770.04013.75
5.3.20.3900.04013.61
5.3.10.3800.03013.63
5.3.00.4300.03313.57
5.2.170.3300.02711.04
5.2.160.3170.03011.08
5.2.150.3000.03011.14
5.2.140.3470.03011.05
5.2.130.3300.02311.09
5.2.120.3170.03311.04
5.2.110.3130.03310.92
5.2.100.3430.03010.99
5.2.90.3300.03711.07
5.2.80.3170.03311.02
5.2.70.3000.03011.10
5.2.60.3030.02711.04
5.2.50.3500.03311.02
5.2.40.2470.02310.97
5.2.30.2830.01711.13
5.2.20.3070.03010.89
5.2.10.0070.02710.86
5.2.00.0000.03010.76
5.1.60.0030.02310.00
5.1.50.0070.02010.04
5.1.40.2400.0279.88
5.1.30.2430.02010.33
5.1.20.2370.02710.32
5.1.10.2430.02310.06
5.1.00.2470.02710.13
5.0.50.1330.0178.70
5.0.40.1270.0178.41
5.0.30.1130.0338.21
5.0.20.1570.0208.25
5.0.10.1570.0238.13
5.0.00.1270.0378.29
4.4.90.1200.0176.38
4.4.80.1200.0176.38
4.4.70.1200.0176.38
4.4.60.1070.0136.38
4.4.50.0000.0136.38
4.4.40.0000.0236.38
4.4.30.0930.0136.38
4.4.20.1130.0206.38
4.4.10.1470.0176.38
4.4.00.1230.0206.38
4.3.110.1170.0176.38
4.3.100.1330.0176.38
4.3.90.1430.0136.38
4.3.80.1300.0306.38
4.3.70.1400.0176.38
4.3.60.1430.0176.38
4.3.50.1430.0176.38
4.3.40.1330.0276.38
4.3.30.0730.0176.38
4.3.20.0900.0206.38
4.3.10.0800.0176.38
4.3.00.0800.0236.38

preferences:
57.2 ms | 401 KiB | 5 Q