3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> <title> Register ! </title> <style> .bdy { padding-top:2.5%; width:80%; font-size:16pt; } .t { width:50%; font-size:18pt; } .header { top:0; left:0; width:100%; background: #F8F8F8; color:#000000; height:5%; position:fixed; text-align:right; font-size:25pt; padding-top:5; } .spacer { width:70%; height:2; display:inline-block; } .sp2 { width:5; height:2; display:inline-block; } .sub { top:0; left:0; bottom:0; width:10%; height:100%; background: #F6F6F6; color:#0F0F0F; font-size:30pt; text-align:center; display:inline-block; -webkit-transition: all 0.7s; -moz-transition: all 0.7s; -ms-transition: all 0.7s; transition: all 0.7s; } pre { display:inline; font-size:20pt; font-face:Arial; } .sub:hover { background: #2F2F8F; color:#FFFFF0; } .f { font-size:25pt; } .ht { top:0; left:0; color:#060606; font-size:25pt; display:inline; } .e { font-size:14pt; height:auto; width:auto; color:red; } body { background:black; color:white; } .sbt { height:80; width:120; color:white; background: #1ABC9C; border:none; -webkit-border-radius:15px; -moz-border-radius:15px; -ms-border-radius:15px; border-radius:15px; -webkit-transition: all 0.4s; -moz-transition: all 0.4s; -ms-transition: all 0.4s; transition: all 0.4s; } .sbt:hover { background: #7A7AFF; } .ok { color:green; font-size:30pt; } </style> </head> <body> <div class="header"> <div class="ht"> Register </div> <div class="spacer"> <br> </div> <a href="index.php"> <div class="sub"> Home </div> </a> <div class="sp2"> <br> </div> <div class="sub"> Login </div> <div class="sp2"> <br> </div> </div> <center> <?php $e=0; ?> <div class="bdy"><br><br><br><br> <fieldset class="f"> <br><br> <pre>Kindly fill the form below to register ... </pre> <br><br> <form action="register.php"> <pre>First Name: </pre><input type="text" class="t" name="fn" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['fn']; ?>"> <br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['fn']=="") { $e=1; echo'First Name Cannot Be Empty!'; } } ?> </div><br> <pre>Last Name: </pre><input type="text" class="t" name="ln" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['ln']; ?>"> <br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['ln']=="") { $e=1; echo'Last Name Cannot Be Empty!'; } } ?> </div><br> <pre>Email ID: </pre><input type="text" class="t" name="ei" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['ei']; ?>" ><br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['ei']=="") { $e=1; echo'Email Cannot Be Empty!'; } } ?> </div><br> <pre>Choose a username: </pre><input type="text" class="t" name="un" value="<?php if(isset($_REQUEST['stat'])) echo $_REQUEST['un']; ?>"><br> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['un']=="") { $e=1; echo'Username Cannot Be Empty!'; } } ?> </div><br> <pre>Choose a password: </pre><input type="password" class="t" name="pass"><br> <div class=e><?php if(isset($_REQUEST['stat'])) { if($_REQUEST['pass']=="") { $e=1; echo'Password Cannot Be Empty!'; } } ?> </div><br> <pre>Verify password: </pre><input type="password" class="t" name="ver"> <div class=e> <?php if(isset($_REQUEST['stat'])) { if($_REQUEST['ver']=="") { echo'Verify Password Cannot Be Empty!<br>'; $e=1; } if($_REQUEST['ver']!=$_REQUEST['pass']) { echo'Passwords DO NOT match'; $e=1; } } ?> </div><br><br> <input type="submit" class="sbt" name="sb" value="Sumit !"> <input type="hidden" name="stat" value="true"> <?php if(isset($_REQUEST['stat'])) { if($e==0) { echo '<br><br><br><div class="ok"> All details are correct ! </div>'; } } ?> </form> </fieldset> </center> </div> </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.00718.29
8.3.50.0140.00721.95
8.3.40.0090.00918.85
8.3.30.0040.01119.08
8.3.20.0060.00320.33
8.3.10.0040.00422.13
8.3.00.0060.00322.44
8.2.180.0040.01116.48
8.2.170.0030.01522.96
8.2.160.0070.00720.93
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.01426.16
8.2.120.0030.00519.36
8.2.110.0090.00022.27
8.2.100.0040.00819.45
8.2.90.0000.00819.40
8.2.80.0030.00517.97
8.2.70.0030.00517.50
8.2.60.0000.00717.93
8.2.50.0040.00418.07
8.2.40.0050.00318.16
8.2.30.0070.00418.20
8.2.20.0080.00017.77
8.2.10.0000.00819.50
8.2.00.0000.00919.39
8.1.280.0040.01825.92
8.1.270.0100.00022.18
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0050.00519.22
8.1.220.0040.00417.80
8.1.210.0050.00318.77
8.1.200.0040.00417.48
8.1.190.0080.00017.52
8.1.180.0080.00018.79
8.1.170.0000.00818.71
8.1.160.0000.00822.18
8.1.150.0070.00018.71
8.1.140.0040.00717.52
8.1.130.0000.00717.86
8.1.120.0030.00317.56
8.1.110.0000.00917.51
8.1.100.0000.00817.55
8.1.90.0070.00017.59
8.1.80.0040.00417.43
8.1.70.0040.00417.52
8.1.60.0060.00317.64
8.1.50.0050.00317.52
8.1.40.0030.00617.46
8.1.30.0040.00417.59
8.1.20.0040.00417.57
8.1.10.0000.00817.64
8.1.00.0000.00817.43
8.0.300.0000.00818.77
8.0.290.0040.00417.17
8.0.280.0000.00718.52
8.0.270.0030.00617.45
8.0.260.0030.00316.83
8.0.250.0000.00716.94
8.0.240.0000.00716.93
8.0.230.0040.00417.03
8.0.220.0000.00816.94
8.0.210.0030.00516.97
8.0.200.0030.00317.02
8.0.190.0080.00017.07
8.0.180.0040.00416.86
8.0.170.0040.00417.00
8.0.160.0040.00417.00
8.0.150.0000.01016.95
8.0.140.0050.00316.91
8.0.130.0000.00613.43
8.0.120.0030.00616.81
8.0.110.0000.00816.83
8.0.100.0000.00816.82
8.0.90.0070.00017.01
8.0.80.0090.00616.94
8.0.70.0040.00417.00
8.0.60.0050.00216.98
8.0.50.0040.00416.79
8.0.30.0130.00617.08
8.0.20.0110.00817.40
8.0.10.0000.00717.12
8.0.00.0110.00816.76
7.4.330.0050.00015.03
7.4.320.0000.00716.48
7.4.300.0000.00616.58
7.4.290.0030.00316.72
7.4.280.0000.00716.57
7.4.270.0020.00516.50
7.4.260.0000.00716.63
7.4.250.0060.00316.52
7.4.240.0020.00616.67
7.4.230.0030.00316.49
7.4.220.0060.01216.65
7.4.210.0050.01216.59
7.4.200.0040.00416.65
7.4.190.0000.00716.48
7.4.160.0080.01116.59
7.4.150.0170.00317.40
7.4.140.0100.01017.86
7.4.130.0070.01116.47
7.4.120.0080.01016.46
7.4.110.0040.01516.63
7.4.100.0070.01616.66
7.4.90.0040.01416.57
7.4.80.0030.01619.39
7.4.70.0040.01416.54
7.4.60.0110.00616.59
7.4.50.0080.00016.60
7.4.40.0110.00422.77
7.4.30.0100.00616.71
7.4.10.0000.01515.13
7.4.00.0050.01015.14
7.3.330.0000.00513.20
7.3.320.0060.00013.12
7.3.310.0070.00016.37
7.3.300.0030.00316.24
7.3.290.0070.00716.31
7.3.280.0100.00516.29
7.3.270.0140.01017.40
7.3.260.0100.01016.45
7.3.250.0080.01116.27
7.3.240.0040.01416.31
7.3.230.0140.00716.42
7.3.210.0110.00716.60
7.3.200.0120.00619.39
7.3.190.0100.00716.53
7.3.180.0160.00316.24
7.3.170.0130.00716.51
7.3.160.0120.00416.53
7.3.130.0080.00814.75
7.3.120.0070.01114.95
7.3.110.0100.00714.55
7.3.100.0100.00714.60
7.3.90.0040.01114.76
7.3.80.0000.01114.68
7.3.70.0030.01014.84
7.3.60.0060.00614.81
7.3.50.0000.01214.98
7.3.40.0030.00614.86
7.3.30.0030.00514.55
7.3.20.0130.00016.57
7.3.10.0030.01116.55
7.3.00.0040.00916.53
7.2.330.0100.00716.70
7.2.320.0110.00616.61
7.2.310.0150.00316.45
7.2.300.0100.00716.75
7.2.290.0090.00816.74
7.2.260.0060.01215.20
7.2.250.0090.00914.96
7.2.240.0090.00615.21
7.2.230.0130.00015.34
7.2.220.0030.01315.21
7.2.210.0040.00715.18
7.2.200.0120.00315.04
7.2.190.0000.00915.20
7.2.180.0120.00314.91
7.2.170.0070.00715.08
7.2.160.0030.01014.93
7.2.150.0060.00316.94
7.2.140.0030.00916.89
7.2.130.0040.01016.89
7.2.120.0020.01216.94
7.2.110.0060.00416.64
7.2.100.0060.00816.85
7.2.90.0060.01016.85
7.2.80.0020.01116.70
7.2.70.0030.00916.81
7.2.60.0050.00916.66
7.2.50.0030.01116.80
7.2.40.0080.00816.89
7.2.30.0040.01416.68
7.2.20.0080.00716.83
7.2.10.0070.00616.80
7.2.00.0070.00617.77
7.1.330.0070.00715.77
7.1.320.0090.00315.82
7.1.310.0030.01015.44
7.1.300.0040.00715.84
7.1.290.0040.00415.88
7.1.280.0030.00915.86
7.1.270.0040.00415.67
7.1.260.0070.00715.34
7.1.250.0070.00515.83
7.1.240.0030.00715.44
7.1.230.0000.00915.68
7.1.220.0000.01315.69
7.1.210.0070.00715.71
7.1.200.0070.00715.70
7.1.190.0060.00615.84
7.1.180.0110.00415.54
7.1.170.0100.00715.69
7.1.160.0030.01015.62
7.1.150.0070.00715.60
7.1.140.0000.00915.66
7.1.130.0110.00415.49
7.1.120.0060.00615.39
7.1.110.0060.00315.79
7.1.100.0070.00716.73
7.1.90.0000.00915.87
7.1.80.0040.00815.66
7.1.70.0040.00916.39
7.1.60.0040.01617.83
7.1.50.0030.01116.04
7.1.40.0070.00515.55
7.1.30.0090.00615.63
7.1.20.0060.00815.48
7.1.10.0060.00915.74
7.1.00.0030.04318.92
7.0.330.0000.01115.41
7.0.320.0100.00615.39
7.0.310.0070.00715.23
7.0.300.0060.00615.32
7.0.290.0000.00915.20
7.0.280.0000.01615.34
7.0.270.0040.01215.45
7.0.260.0060.00615.38
7.0.250.0090.00015.33
7.0.240.0100.00615.37
7.0.230.0040.01115.43
7.0.220.0000.01415.42
7.0.210.0070.00715.45
7.0.200.0030.00915.79
7.0.190.0000.01315.05
7.0.180.0040.01115.31
7.0.170.0110.00515.31
7.0.160.0060.00915.40
7.0.150.0070.00715.04
7.0.140.0060.04018.76
7.0.130.0060.00615.50
7.0.120.0040.00715.47
7.0.110.0030.01315.39
7.0.100.0060.01115.05
7.0.90.0070.00715.38
7.0.80.0100.00315.41
7.0.70.0030.01015.34
7.0.60.0070.02917.70
7.0.50.0020.04816.71
7.0.40.0030.02617.01
7.0.30.0150.03616.77
7.0.20.0080.03116.85
7.0.10.0070.04016.65
7.0.00.0030.03616.81
5.6.400.0050.00514.62
5.6.390.0030.01014.58
5.6.380.0140.00314.71
5.6.370.0030.01014.16
5.6.360.0030.00614.26
5.6.350.0090.00914.23
5.6.340.0000.00914.53
5.6.330.0070.00714.36
5.6.320.0100.00314.58
5.6.310.0110.00814.52
5.6.300.0000.00914.24
5.6.290.0120.00014.48
5.6.280.0030.04217.68
5.6.270.0100.00714.67
5.6.260.0110.00314.32
5.6.250.0040.01514.52
5.6.240.0070.00714.41
5.6.230.0040.00714.25
5.6.220.0060.00614.18
5.6.210.0070.02817.47
5.6.200.0000.03216.28
5.6.190.0140.03317.40
5.6.180.0150.03117.52
5.6.170.0120.02717.32
5.6.160.0020.04917.45
5.6.150.0080.03516.22
5.6.140.0000.04216.48
5.6.130.0100.04816.28
5.6.120.0030.02517.65
5.6.110.0130.04117.68
5.6.100.0040.02617.64
5.6.90.0020.02917.73
5.6.80.0080.03817.38
5.6.70.0130.00014.40
5.6.60.0030.01014.40
5.6.50.0000.01114.20
5.6.40.0120.00314.31
5.6.30.0070.01014.21
5.6.20.0090.00314.14
5.6.10.0060.00914.45
5.6.00.0080.00414.19
5.5.380.0040.01414.18
5.5.370.0030.01014.44
5.5.360.0060.00914.12
5.5.350.0170.03217.43
5.5.340.0050.04316.15
5.5.330.0070.02217.38
5.5.320.0100.03917.40
5.5.310.0200.04017.30
5.5.300.0090.04015.88
5.5.290.0050.03116.23
5.5.280.0050.03917.42
5.5.270.0080.04617.47
5.5.260.0080.04317.47
5.5.250.0120.03817.41
5.5.240.0050.04416.98
5.5.230.0070.00713.93
5.5.220.0030.00714.13
5.5.210.0090.00614.18
5.5.200.0100.00314.23
5.5.190.0040.01114.34
5.5.180.0000.01114.04
5.5.170.0030.00614.39
5.5.160.0000.01514.23
5.5.150.0070.00713.97
5.5.140.0040.00714.38
5.5.130.0100.00014.28
5.5.120.0040.01214.29
5.5.110.0030.01013.80
5.5.100.0070.01013.74
5.5.90.0060.00714.16
5.5.80.0080.00314.34
5.5.70.0000.01014.25
5.5.60.0000.01114.19
5.5.50.0030.01014.21
5.5.40.0100.00014.00
5.5.30.0000.01614.04
5.5.20.0080.00414.01
5.5.10.0060.00313.88
5.5.00.0130.00014.24
5.4.450.0430.02515.28
5.4.440.0100.03015.28
5.4.430.0080.03215.22
5.4.420.0050.03415.22
5.4.410.0120.02715.04
5.4.400.0580.03214.83
5.4.390.0490.02814.91
5.4.380.0110.02914.75
5.4.370.0100.01714.83
5.4.360.0030.02314.82
5.4.350.0020.02611.49
5.4.340.0030.02211.48
5.4.330.0110.00011.01
5.4.320.0040.03011.72
5.4.310.0060.02611.72
5.4.300.0050.02311.73
5.4.290.0090.02111.72
5.4.280.0040.02511.67
5.4.270.0040.02411.71
5.4.260.0080.02814.92
5.4.250.0060.03214.93
5.4.240.0070.02914.80
5.4.230.0030.04014.93
5.4.220.0080.02514.97
5.4.210.0010.03414.98
5.4.200.0080.03815.01
5.4.190.0030.03014.79
5.4.180.0050.02914.86
5.4.170.0020.03614.83
5.4.160.0090.02514.82
5.4.150.0030.03314.94
5.4.140.0070.02813.62
5.4.130.0060.02513.72
5.4.120.0070.03313.68
5.4.110.0050.03213.72
5.4.100.0000.03113.64
5.4.90.0100.02013.60
5.4.80.0050.02713.73
5.4.70.0030.02813.62
5.4.60.0050.03013.67
5.4.50.0030.02713.71
5.4.40.0050.02813.61
5.4.30.0100.02513.63
5.4.20.0070.02713.63
5.4.10.0020.04213.57
5.4.00.0020.03113.35
5.3.290.0050.02811.89
5.3.280.0080.02712.80
5.3.270.0030.03212.85
5.3.260.0030.03012.73
5.3.250.0060.02612.80
5.3.240.0050.02812.82
5.3.230.0040.02912.80
5.3.220.0090.02812.83
5.3.210.0070.03512.74
5.3.200.0030.03012.63
5.3.190.0070.02712.72
5.3.180.0030.03012.79
5.3.170.0050.03212.79
5.3.160.0070.02812.78
5.3.150.0070.02512.72
5.3.140.0120.02812.74
5.3.130.0090.02812.74
5.3.120.0070.02812.69
5.3.110.0020.03212.78
5.3.100.0050.03012.57
5.3.90.0070.03012.44
5.3.80.0030.03812.45
5.3.70.0040.03912.53
5.3.60.0070.03412.47
5.3.50.0100.02512.32
5.3.40.0020.03812.48
5.3.30.0160.02612.38
5.3.20.0050.03012.19
5.3.10.0050.03012.33
5.3.00.0080.04112.33
5.2.170.0030.04711.02
5.2.160.0130.03311.32
5.2.150.0100.04011.10
5.2.140.0070.04311.00
5.2.130.0070.03711.06
5.2.120.0100.04710.88
5.2.110.0100.03711.04
5.2.100.0030.04311.28
5.2.90.0070.03711.01
5.2.80.0030.04311.05
5.2.70.0000.04311.04
5.2.60.0170.03310.98
5.2.50.0100.03711.04
5.2.40.0070.03710.90
5.2.30.0070.04010.83
5.2.20.0100.03710.98
5.2.10.0130.03010.94
5.2.00.0030.04310.57
5.1.60.0070.0309.90
5.1.50.0000.03710.25
5.1.40.0030.03710.05
5.1.30.0100.03010.41
5.1.20.0070.03310.46
5.1.10.0130.04010.18
5.1.00.0130.03010.05
5.0.50.0030.0308.76
5.0.40.0000.0308.36
5.0.30.0130.0338.17
5.0.20.0070.0238.13
5.0.10.0030.0308.25
5.0.00.0070.0578.24
4.4.90.0030.0207.05
4.4.80.0000.0277.05
4.4.70.0030.0237.05
4.4.60.0030.0207.05
4.4.50.0000.0277.05
4.4.40.0100.0437.05
4.4.30.0070.0237.05
4.4.20.0000.0237.05
4.4.10.0030.0207.05
4.4.00.0070.0307.05
4.3.110.0030.0307.05
4.3.100.0000.0237.05
4.3.90.0070.0177.05
4.3.80.0000.0337.04
4.3.70.0030.0207.04
4.3.60.0070.0177.04
4.3.50.0070.0177.04
4.3.40.0000.0377.04
4.3.30.0000.0237.04
4.3.20.0000.0237.04
4.3.10.0000.0277.04
4.3.00.0200.0207.13

preferences:
40.08 ms | 401 KiB | 5 Q