3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head lang="de"> <title>Anschrift</title> <meta charset="UTF-8"> <script type="text/javascript"> function showadressfield(participant) { if ( document.getElementById("check"+participant).checked == true ) { document.getElementById("adresse"+participant).style.display ="inline"; } else { document.getElementById("adresse"+participant).style.display ="none"; } } </script> </head> <body> <?php for ($participants=1;$participants<=5;$participants++){ echo 'Teilnehmer '.$participants.' <br><input type="text" name="addresse" placeholder="Name"> <br>abweichende Anschrift <input type="checkbox" id="check'.$participants.'" onClick="showadressfield('.$participants.')"><br> <div style="display:none" id="adresse'.$participants.'" > <input type="text" name="addresse" placeholder="Adresse"><br> <input type="text" name="plz" placeholder="Postleitzahl"> </div><br><hr>'; }; ?> </body> </html>

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.0070.01118.56
8.3.50.0150.00322.01
8.3.40.0100.01018.79
8.3.30.0030.01019.09
8.3.20.0070.00720.33
8.3.10.0040.00420.39
8.3.00.0080.00019.13
8.2.180.0110.00316.50
8.2.170.0070.00722.96
8.2.160.0100.00320.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00322.24
8.2.110.0040.00422.16
8.2.100.0060.00619.51
8.2.90.0000.00819.09
8.2.80.0060.00317.97
8.2.70.0040.00417.50
8.2.60.0000.00817.93
8.2.50.0000.00818.07
8.2.40.0000.00818.03
8.2.30.0040.00419.50
8.2.20.0000.00717.70
8.2.10.0040.00418.10
8.2.00.0040.00417.72
8.1.280.0070.01125.92
8.1.270.0080.00022.19
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0080.00319.17
8.1.220.0000.00817.74
8.1.210.0070.00018.77
8.1.200.0070.00317.10
8.1.190.0030.00617.35
8.1.180.0070.00018.10
8.1.170.0000.00918.59
8.1.160.0040.00422.09
8.1.150.0040.00418.97
8.1.140.0030.00517.43
8.1.130.0000.00717.84
8.1.120.0000.00717.54
8.1.110.0050.00217.50
8.1.100.0080.00017.36
8.1.90.0040.00417.36
8.1.80.0000.00717.45
8.1.70.0030.00317.36
8.1.60.0060.00317.61
8.1.50.0030.00517.43
8.1.40.0030.00517.45
8.1.30.0030.00617.53
8.1.20.0020.00517.64
8.1.10.0080.00017.54
8.1.00.0030.00517.31
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.39
8.0.270.0030.00317.32
8.0.260.0040.00417.29
8.0.250.0070.00016.98
8.0.240.0000.00717.00
8.0.230.0000.00716.97
8.0.220.0070.00016.91
8.0.210.0040.00416.85
8.0.200.0000.00616.85
8.0.190.0070.00016.85
8.0.180.0040.00316.83
8.0.170.0040.00416.95
8.0.160.0050.00316.89
8.0.150.0070.00016.89
8.0.140.0040.00416.74
8.0.130.0030.00313.37
8.0.120.0030.00516.87
8.0.110.0070.00016.84
8.0.100.0000.00716.79
8.0.90.0000.00716.86
8.0.80.0070.01416.89
8.0.70.0000.00716.88
8.0.60.0050.00316.80
8.0.50.0040.00416.80
8.0.30.0090.01116.98
8.0.20.0080.01017.40
8.0.10.0050.00316.88
8.0.00.0160.00416.83
7.4.330.0050.00015.00
7.4.320.0040.00416.59
7.4.300.0060.00016.59
7.4.290.0030.00316.59
7.4.280.0080.00016.43
7.4.270.0030.00316.57
7.4.260.0050.00316.52
7.4.250.0040.00416.57
7.4.240.0050.00216.55
7.4.230.0040.00416.40
7.4.220.0070.01016.40
7.4.210.0060.01216.64
7.4.200.0030.00316.25
7.4.160.0100.01016.27
7.4.150.0090.01517.40
7.4.140.0070.01117.86
7.4.130.0100.00716.34
7.4.120.0130.00516.57
7.4.110.0110.00716.19
7.4.100.0000.01716.61
7.4.90.0040.01216.45
7.4.80.0180.00719.39
7.4.70.0110.01416.39
7.4.60.0170.00016.55
7.4.50.0050.00316.61
7.4.40.0070.01016.49
7.4.30.0090.01016.43
7.4.00.0080.00814.81
7.3.330.0000.00513.11
7.3.320.0000.00513.04
7.3.310.0040.00416.23
7.3.300.0000.00716.26
7.3.290.0110.00316.23
7.3.280.0070.01016.24
7.3.270.0190.00017.40
7.3.260.0120.01316.27
7.3.250.0070.01116.53
7.3.240.0090.00916.23
7.3.230.0150.00816.39
7.3.210.0180.00016.50
7.3.200.0090.00919.39
7.3.190.0120.00916.21
7.3.180.0040.01116.35
7.3.170.0100.00616.36
7.3.160.0120.00316.23
7.3.10.0000.01416.73
7.3.00.0070.00716.69
7.2.330.0070.01316.68
7.2.320.0160.00616.38
7.2.310.0190.00016.27
7.2.300.0070.01016.72
7.2.290.0060.00916.70
7.2.130.0030.00716.99
7.2.120.0120.00316.80
7.2.110.0070.00716.89
7.2.100.0040.01116.84
7.2.90.0200.00317.11
7.2.80.0000.01016.58
7.2.70.0120.00317.06
7.2.60.0070.00416.71
7.2.50.0030.01016.95
7.2.40.0070.00317.04
7.2.30.0100.00317.03
7.2.20.0130.00616.99
7.2.10.0030.01317.00
7.2.00.0100.00617.11
7.1.250.0100.01016.08
7.1.240.0070.00315.55
7.1.230.0120.00615.66
7.1.220.0040.00715.84
7.1.210.0060.00915.73
7.1.200.0120.00415.77
7.1.190.0070.00715.71
7.1.180.0060.00615.62
7.1.170.0030.00615.51
7.1.160.0100.00715.61
7.1.150.0040.01115.71
7.1.140.0060.00915.89
7.1.130.0070.00715.68
7.1.120.0150.00315.80
7.1.110.0030.01015.71
7.1.100.0070.00416.96
7.1.90.0070.00715.96
7.1.80.0000.01015.82
7.1.70.0050.00716.46
7.1.60.0070.01417.73
7.1.50.0090.00716.34
7.1.40.0070.01015.70
7.1.30.0030.01315.75
7.1.20.0030.01015.59
7.1.10.0060.00615.71
7.1.00.0060.04119.19
7.0.330.0080.00315.65
7.0.320.0090.00315.37
7.0.310.0120.00315.32
7.0.300.0040.00415.50
7.0.290.0070.00715.27
7.0.280.0070.01015.47
7.0.270.0060.01215.46
7.0.260.0140.00315.42
7.0.250.0100.00715.63
7.0.240.0110.00715.52
7.0.230.0070.00315.29
7.0.220.0100.00715.32
7.0.210.0130.00315.49
7.0.200.0380.00315.06
7.0.190.0090.00615.45
7.0.180.0040.00415.34
7.0.170.0120.00315.57
7.0.160.0030.00615.26
7.0.150.0100.00015.12
7.0.140.0020.04318.83
7.0.130.0100.00315.43
7.0.120.0070.01015.34
7.0.110.0060.00915.23
7.0.100.0100.01015.40
7.0.90.0070.01015.50
7.0.80.0060.00615.43
7.0.70.0080.00015.31
7.0.60.0050.04317.56
7.0.50.0030.04716.52
7.0.40.0020.02816.78
7.0.30.0220.02816.72
7.0.20.0120.02516.90
7.0.10.0070.03516.84
7.0.00.0060.02616.85
5.6.380.0060.00614.27
5.6.370.0060.00814.40
5.6.360.0090.00314.10
5.6.350.0030.00714.30
5.6.340.0100.00314.48
5.6.330.0070.00414.11
5.6.320.0030.00614.27
5.6.310.0040.00413.98
5.6.300.0120.00614.48
5.6.290.0060.01014.14
5.6.280.0060.04117.48
5.6.270.0060.00914.43
5.6.260.0060.00614.19
5.6.250.0000.01814.28
5.6.240.0000.01314.20
5.6.230.0060.00614.16
5.6.220.0070.00714.16
5.6.210.0110.04217.38
5.6.200.0070.04516.24
5.6.190.0060.02617.46
5.6.180.0360.03517.37
5.6.170.0210.03817.33
5.6.160.0090.02717.21
5.6.150.0070.04016.33
5.6.140.0060.04416.25
5.6.130.0080.03716.16
5.6.120.0110.03417.32
5.6.110.0120.04017.63
5.6.100.0100.02517.48
5.6.90.0030.04917.83
5.6.80.0070.04517.36
5.6.70.0030.00914.46
5.6.60.0100.00713.95
5.6.50.0060.00914.27
5.6.40.0160.00614.24
5.6.30.0170.00414.34
5.6.20.0170.00214.31
5.6.10.0060.01014.14
5.6.00.0080.00014.11
5.5.380.0000.01011.18
5.5.370.0120.00011.05
5.5.360.0040.00710.80
5.5.350.0050.02715.71
5.5.340.0060.04314.62
5.5.330.0070.03715.70
5.5.320.0210.01615.57
5.5.310.0090.02315.65
5.5.300.0090.02314.39
5.5.290.0070.03814.52
5.5.280.0060.04615.89
5.5.270.0090.02615.79
5.5.260.0050.04215.69
5.5.250.0080.04415.70
5.5.240.0140.03115.63
5.5.230.0070.00711.12
5.5.220.0080.00811.15
5.5.210.0080.00811.03
5.5.200.0120.00311.03
5.5.190.0040.00811.00
5.5.180.0000.01111.13
5.5.170.0050.00511.16
5.5.160.0030.00911.12
5.5.150.0050.00511.14
5.5.140.0040.00411.15
5.5.130.0040.00411.04
5.5.120.0040.00411.17
5.5.110.0000.01011.23
5.5.100.0060.00611.04
5.5.90.0070.00311.01
5.5.80.0090.00310.83
5.5.70.0000.01110.86
5.5.60.0040.00411.05
5.5.50.0040.00411.10
5.5.40.0100.00011.21
5.5.30.0030.00711.05
5.5.20.0030.00611.02
5.5.10.0000.01111.21
5.5.00.0000.00811.18
5.4.450.0200.02214.96
5.4.440.0230.01815.13
5.4.430.0150.02315.07
5.4.420.0170.02315.24
5.4.410.0180.02615.21
5.4.400.0130.02514.97
5.4.390.0200.02614.96
5.4.380.0180.02814.77
5.4.370.0150.03114.94
5.4.360.0260.03114.72
5.4.350.0200.02514.80
5.4.340.0170.03514.83
5.4.330.0000.00810.77
5.4.320.0050.02111.58
5.4.310.0040.02311.75
5.4.300.0060.02111.66
5.4.290.0050.03011.61
5.4.280.0050.02511.67
5.4.270.0020.02411.69
5.4.260.0030.02211.52
5.4.250.0040.02211.64
5.4.240.0050.02011.52
5.4.230.0040.02311.58
5.4.220.0080.02111.58
5.4.210.0040.02211.47
5.4.200.0070.02311.59
5.4.190.0040.02311.57
5.4.180.0100.01611.58
5.4.170.0070.02011.49
5.4.160.0090.01811.58
5.4.150.0060.02111.46
5.4.140.0050.02211.51
5.4.130.0060.02411.45
5.4.120.0050.02611.43
5.4.110.0080.02511.41
5.4.100.0040.02611.44
5.4.90.0050.02311.42
5.4.80.0070.01911.52
5.4.70.0070.01911.49
5.4.60.0050.02011.43
5.4.50.0050.02111.50
5.4.40.0080.02011.45
5.4.30.0040.02311.47
5.4.20.0040.02311.45
5.4.10.0020.02411.48
5.4.00.0050.02011.14
5.3.290.0070.01911.64
5.3.280.0020.02211.46
5.3.270.0080.02111.57
5.3.260.0070.02111.59
5.3.250.0050.02111.55
5.3.240.0030.02111.51
5.3.230.0080.01911.53
5.3.220.0050.02011.45
5.3.210.0020.02311.43
5.3.200.0010.02411.43
5.3.190.0050.02311.49
5.3.180.0050.01911.55
5.3.170.0030.02111.54
5.3.160.0040.02011.59
5.3.150.0040.02011.54
5.3.140.0030.02111.57
5.3.130.0070.02011.46
5.3.120.0070.02211.44
5.3.110.0060.02311.54
5.3.100.0020.02511.22
5.3.90.0040.02011.25
5.3.80.0080.01711.15
5.3.70.0040.02211.16
5.3.60.0070.01911.12
5.3.50.0020.02211.09
5.3.40.0040.02011.08
5.3.30.0020.02211.12
5.3.20.0040.02311.01
5.3.10.0020.02310.93
5.3.00.0060.02010.92
5.2.170.0040.0189.68
5.2.160.0020.0209.68
5.2.150.0060.0169.68
5.2.140.0040.0199.68
5.2.130.0020.0199.65
5.2.120.0030.0189.66
5.2.110.0050.0149.66
5.2.100.0020.0189.65
5.2.90.0030.0169.65
5.2.80.0010.0209.65
5.2.70.0070.0169.65
5.2.60.0060.0169.63
5.2.50.0030.0229.62
5.2.40.0050.0159.60
5.2.30.0040.0189.59
5.2.20.0050.0179.59
5.2.10.0060.0149.55
5.2.00.0050.0179.48
5.1.60.0030.0169.13
5.1.50.0070.0139.13
5.1.40.0020.0159.11
5.1.30.0040.0229.29
5.1.20.0070.0199.30
5.1.10.0050.0149.17
5.1.00.0040.0159.16
5.0.50.0030.0128.40
5.0.40.0020.0128.33
5.0.30.0040.0178.24
5.0.20.0020.0148.22
5.0.10.0050.0108.21
5.0.00.0030.0188.21
4.4.90.0050.0077.48
4.4.80.0020.0117.46
4.4.70.0040.0077.46
4.4.60.0030.0097.46
4.4.50.0020.0107.47
4.4.40.0050.0137.44
4.4.30.0050.0077.47
4.4.20.0020.0097.51
4.4.10.0020.0107.51
4.4.00.0040.0117.46
4.3.110.0020.0117.42
4.3.100.0010.0117.42
4.3.90.0030.0097.40
4.3.80.0010.0147.38
4.3.70.0040.0107.40
4.3.60.0020.0137.40
4.3.50.0020.0117.40
4.3.40.0030.0177.36
4.3.30.0020.0106.73
4.3.20.0030.0106.72
4.3.10.0020.0096.70
4.3.00.0100.01213.45

preferences:
43.57 ms | 400 KiB | 5 Q