3v4l.org

run code in 300+ PHP versions simultaneously
<?php $htmlPage = <<<HTML <style> .signup { border: 1px solid #999999; font: normal 14px helvatica; color: #444444; } </style> <script src="form_validation.js"> </script> </head> <body> <table border="0" cellpadding="2" cellspacing="5" bgcolor="#eeeeee"> <th cellspan="2" align="center">Sign Up Form</th> <form method="post" action="addUser.php" onsubmit="return validate(this)"> <tr> <td>Forename</td> <td><input type = "text" maxlength="32" name="forename"/></td> </tr> <tr> <td>Surname</td> <td><input type = "text" maxlength="32" name="surname" /></td> </tr> <tr> <td>Username</td> <td><input type = "text" maxlength="16" name="username" /></td> </tr> <tr> <td>Password</td> <td><input type = "password" maxlength="12" name="password" /></td> </tr> <tr> <td>Age</td> <td><input type = "text" maxlength="3" name="age" /></td> </tr> <tr> <td>E-mail</td> <td><input type = "text" maxlength="32" name="email" /></td> </tr> <tr> <td colspace="2" align="center"> <td><input type = "submit" value="Sign Up"/></td> </tr> </form> </table> </body> </html> HTML; echo $htmlPage;

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.0180.00016.38
8.3.50.0070.00719.55
8.3.40.0140.00418.45
8.3.30.0120.00318.54
8.3.20.0070.00021.63
8.3.10.0000.00721.82
8.3.00.0080.00021.77
8.2.180.0070.00718.41
8.2.170.0120.00622.96
8.2.160.0040.01122.11
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00418.80
8.2.110.0090.00319.38
8.2.100.0030.00817.78
8.2.90.0050.00319.21
8.2.80.0040.00418.04
8.2.70.0040.00417.63
8.2.60.0100.00017.80
8.2.50.0040.00418.10
8.2.40.0040.00422.21
8.2.30.0050.00217.92
8.2.20.0060.00318.05
8.2.10.0000.00717.98
8.2.00.0050.00217.71
8.1.280.0090.00625.92
8.1.270.0000.00720.33
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.84
8.1.230.0110.00019.10
8.1.220.0000.00717.74
8.1.210.0060.00318.77
8.1.200.0030.00617.22
8.1.190.0050.00317.22
8.1.180.0050.00318.10
8.1.170.0060.00318.34
8.1.160.0030.00322.11
8.1.150.0030.00618.61
8.1.140.0030.00617.37
8.1.130.0030.00319.04
8.1.120.0000.00717.45
8.1.110.0000.00717.27
8.1.100.0080.00017.42
8.1.90.0000.00717.30
8.1.80.0000.00817.43
8.1.70.0000.00717.36
8.1.60.0030.00517.52
8.1.50.0070.00017.34
8.1.40.0030.00617.41
8.1.30.0000.00817.51
8.1.20.0030.00617.61
8.1.10.0070.00017.52
8.1.00.0080.00017.32
8.0.300.0030.00320.21
8.0.290.0040.00416.75
8.0.280.0040.00418.48
8.0.270.0000.00716.88
8.0.260.0030.00717.15
8.0.250.0030.00317.02
8.0.240.0040.00416.88
8.0.230.0070.00016.89
8.0.220.0050.00316.78
8.0.210.0030.00316.89
8.0.200.0080.00016.92
8.0.190.0030.00616.93
8.0.180.0050.00516.79
8.0.170.0040.00416.77
8.0.160.0070.00016.93
8.0.150.0000.00716.72
8.0.140.0030.00516.79
8.0.130.0030.00313.31
8.0.120.0040.00416.84
8.0.110.0030.00316.71
8.0.100.0040.00416.75
8.0.90.0070.00016.77
8.0.80.0040.01116.88
8.0.70.0000.00816.89
8.0.60.0070.00016.73
8.0.50.0040.00416.71
8.0.30.0070.01217.01
8.0.20.0110.00917.40
8.0.10.0000.00716.88
8.0.00.0070.01116.71
7.4.330.0050.00015.55
7.4.320.0050.00216.38
7.4.300.0030.00316.56
7.4.290.0000.00716.53
7.4.280.0000.00816.54
7.4.270.0070.00016.41
7.4.260.0070.00016.34
7.4.250.0040.00416.39
7.4.240.0040.00416.42
7.4.230.0030.00316.55
7.4.220.0070.01516.63
7.4.210.0040.01216.45
7.4.200.0040.00416.54
7.4.160.0100.00716.45
7.4.150.0140.00717.40
7.4.140.0140.00817.86
7.4.130.0120.00716.38
7.4.120.0060.01316.53
7.4.110.0100.00716.45
7.4.100.0110.00716.34
7.4.90.0070.01116.34
7.4.80.0110.00719.39
7.4.70.0080.00816.54
7.4.60.0100.00616.43
7.4.50.0090.00916.25
7.4.40.0070.00916.51
7.4.30.0160.00616.45
7.4.00.0060.00914.97
7.3.330.0000.00513.00
7.3.320.0030.00313.10
7.3.310.0030.00316.32
7.3.300.0000.00716.25
7.3.290.0080.00616.23
7.3.280.0120.00716.24
7.3.270.0150.00517.40
7.3.260.0100.01016.39
7.3.250.0100.01016.29
7.3.240.0040.01316.38
7.3.230.0100.00716.27
7.3.210.0070.01016.49
7.3.200.0040.01216.44
7.3.190.0110.00516.46
7.3.180.0150.00016.32
7.3.170.0030.01316.24
7.3.160.0190.00316.24
7.2.330.0070.01116.57
7.2.320.0040.01316.17
7.2.310.0140.00316.44
7.2.300.0060.01216.29
7.2.290.0090.01216.17
7.2.60.0100.00616.85
7.2.50.0100.00616.61
7.1.200.0260.00415.64
7.1.70.0120.00316.96
7.1.60.0030.00717.16
7.1.10.0100.05722.17
7.1.00.0070.06022.36
7.0.200.0060.00816.75
7.0.150.0230.04321.86
7.0.140.0170.05321.85
7.0.130.0100.05321.86
7.0.120.0100.05321.86
7.0.110.0130.05021.75
7.0.100.0000.06321.85
7.0.90.0030.07721.88
7.0.80.0100.05321.70
7.0.70.0130.05021.93
7.0.60.0130.05021.91
7.0.50.0070.07021.88
7.0.40.0070.05721.71
7.0.30.0130.05021.71
7.0.20.0100.05321.83
7.0.10.0100.05321.79
7.0.00.0130.05021.87

preferences:
56.02 ms | 401 KiB | 5 Q