3v4l.org

run code in 300+ PHP versions simultaneously
<?php session_start(); include ('db_connect.php'); if (isset($_POST['S1'])) { $A1 = $_POST['T1']; $A2 = $_POST['T2']; $Q = @mysql_query("SELECT * FROM emct_instructor WHERE ins_id='$A1' AND ins_password='$A2'"); $R = @mysql_fetch_array($Q); if (@mysql_num_rows($Q) == 1) { $_SESSION['FULLNAME'] = $R['ins_fname']; print "<script>window.location='faculty.php';</script>"; } else print "<script>alert('Invalid Username or password')</script>"; } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Faculty Log-in</title> <meta name="keywords" content="" /> <meta name="description" content="" /> <link href="default.css" rel="stylesheet" type="text/css" media="screen" /> <style type="text/css"> <!-- .style1 { color: #1C74A4; font-size: 13px; } .style17 {font-size: 14px; color: #006AD5; } --> </style> </head> <body> <!-- start header --> <div id="header"> <div id="logo"> <h1></a></h1> <p>&nbsp;</p> <p>&nbsp;</p> </div> <div id="menu"> <ul> <li><a href="facultyoverview.php">Faculty overview </a></li> <li class="current_page_item"><a href="facultylog.php">faculty log-in </a></li> </ul> </div> </div> <!-- end header --> <!-- start page --> <div id="page"> <!-- start leftbar --> <div id="leftbar" class="sidebar"> <ul> <li> <h2>&nbsp;</h2> </li> <li></li> </ul> </div> <!-- end leftbar --> <!-- start content --> <div id="content"> <div class="post"> <h1 class="title">Faculty Log-in </h1> <div class="entry"> <form name="F1" method="POST"> <p><fieldset> <table width="364" border="0"> <tr> <td width="75"><span class="style17">Faculty ID: </span></td> <td width="273"><input type="text" name="T1"></td> </tr> <tr> <td><span class="style17">Password:</span></td> <td><input type="password" name="T2"></td> </tr> <tr> <td>&nbsp;</td> <td><input name="S1" type="submit" value="Login"> <span class="style1">Forgot password? </span></td> </tr> </table> </fieldset> </form> </div> <p class="links">Faculty must remember your password or ID number to Log-n. </p> </div> </div> <!-- end content --> <!-- start rightbar --> <div id="rightbar" class="sidebar"> <ul> <li> </li> <li></li> <li> <div id="calendar_wrap"> <table summary="Calendar"> <caption> January 2014 </caption> <thead> <tr> <th abbr="Monday" scope="col" title="Monday">M</th> <th abbr="Tuesday" scope="col" title="Tuesday">T</th> <th abbr="Wednesday" scope="col" title="Wednesday">W</th> <th abbr="Thursday" scope="col" title="Thursday">T</th> <th abbr="Friday" scope="col" title="Friday">F</th> <th abbr="Saturday" scope="col" title="Saturday">S</th> <th abbr="Sunday" scope="col" title="Sunday">S</th> </tr> </thead> <tfoot> <tr> <td abbr="September" colspan="3" id="prev"><a href="#" title="View posts for September 2007">&laquo; Sep</a></td> <td class="pad">&nbsp;</td> <td colspan="3" id="next">&nbsp;</td> </tr> </tfoot> <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> <td id="today">4</td> <td>5</td> <td>6</td> <td>7</td> </tr> <tr> <td>8</td> <td>9</td> <td>10</td> <td>11</td> <td>12</td> <td>13</td> <td>14</td> </tr> <tr> <td>15</td> <td>16</td> <td>17</td> <td>18</td> <td>19</td> <td>20</td> <td>21</td> </tr> <tr> <td>22</td> <td>23</td> <td>24</td> <td>25</td> <td>26</td> <td>27</td> <td>28</td> </tr> <tr> <td>29</td> <td>30</td> <td><a href="#">31</a></td> <td class="pad" colspan="4">&nbsp;</td> </tr> </tbody> </table> </div> </li> </ul> </div> <!-- end rightbar --> <div style="clear: both;">&nbsp; <p>&nbsp; </p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> </div> </div> <!-- end page --> <hr /> <div id="footer"> <p>&copy;2014 All Rights Reserved. &nbsp;&bull;&nbsp;EMCOTECH</p> </div> <div align=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.70.0120.00916.75
8.3.60.0030.01416.63
8.3.50.0230.00722.88
8.3.40.0120.00319.02
8.3.30.0140.00019.39
8.3.20.0050.00320.29
8.3.10.0040.00423.71
8.3.00.0040.00419.51
8.2.180.0120.00318.41
8.2.170.0100.00722.96
8.2.160.0140.00020.34
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.10
8.2.110.0040.00721.18
8.2.100.0060.00617.91
8.2.90.0000.00819.17
8.2.80.0030.00617.97
8.2.70.0040.00417.63
8.2.60.0080.00018.04
8.2.50.0030.00618.07
8.2.40.0000.00919.99
8.2.30.0050.00218.15
8.2.20.0030.00517.76
8.2.10.0040.00418.14
8.2.00.0080.00017.66
8.1.280.0130.00625.92
8.1.270.0060.00323.87
8.1.260.0090.00026.35
8.1.250.0000.00728.09
8.1.240.0000.00922.75
8.1.230.0080.00317.77
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0040.00418.73
8.1.160.0040.00422.11
8.1.150.0040.00418.91
8.1.140.0050.00217.48
8.1.130.0040.00417.85
8.1.120.0000.01117.52
8.1.110.0000.00717.44
8.1.100.0040.00417.32
8.1.90.0000.00717.41
8.1.80.0000.00717.43
8.1.70.0040.00417.32
8.1.60.0060.00717.56
8.1.50.0060.00317.54
8.1.40.0020.00517.54
8.1.30.0000.00917.61
8.1.20.0080.00017.64
8.1.10.0040.00417.50
8.1.00.0030.00517.52
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0100.00018.47
8.0.270.0080.00017.34
8.0.260.0000.00717.42
8.0.250.0070.00017.20
8.0.240.0040.00416.97
8.0.230.0050.00217.01
8.0.220.0000.00717.05
8.0.210.0000.00717.05
8.0.200.0070.00017.08
8.0.190.0030.00617.12
8.0.180.0000.00716.99
8.0.170.0000.00817.08
8.0.160.0070.00017.03
8.0.150.0040.00416.98
8.0.140.0000.00716.98
8.0.130.0030.00313.45
8.0.120.0030.00717.04
8.0.110.0080.00016.99
8.0.100.0060.00317.02
8.0.90.0050.00216.84
8.0.80.0110.01117.07
8.0.70.0040.00416.96
8.0.60.0050.00317.10
8.0.50.0000.00717.07
8.0.30.0100.00917.26
8.0.20.0130.00717.40
8.0.10.0050.00316.95
8.0.00.0110.00716.93
7.4.330.0030.00315.15
7.4.320.0060.00016.65
7.4.300.0040.00416.58
7.4.290.0420.01016.70
7.4.280.0060.00316.64
7.4.270.0050.00316.57
7.4.260.0000.00916.54
7.4.250.0040.00416.49
7.4.240.0050.00216.54
7.4.230.0000.00716.62
7.4.220.0090.00616.59
7.4.210.0040.01116.74
7.4.200.0000.00716.66
7.4.160.0140.00316.57
7.4.150.0120.00617.40
7.4.140.0090.00817.86
7.4.130.0090.00816.55
7.4.120.0110.00716.58
7.4.110.0070.01016.54
7.4.100.0070.01016.44
7.4.90.0090.00916.59
7.4.80.0100.01319.39
7.4.70.0030.01516.43
7.4.60.0060.01016.26
7.4.50.0040.00416.61
7.4.40.0060.01016.60
7.4.30.0080.01216.34
7.4.10.0070.01015.00
7.4.00.0050.01115.13
7.3.330.0000.00513.09
7.3.320.0000.00513.29
7.3.310.0070.00016.45
7.3.300.0040.00416.34
7.3.290.0090.00616.33
7.3.280.0090.00816.38
7.3.270.0100.00717.40
7.3.260.0070.01016.43
7.3.250.0090.01016.36
7.3.240.0180.00716.37
7.3.230.0100.00616.43
7.3.210.0130.01016.33
7.3.200.0130.00719.39
7.3.190.0090.00916.50
7.3.180.0100.00716.29
7.3.170.0100.00716.28
7.3.160.0120.00416.38
7.3.130.0090.00315.06
7.3.120.0100.00714.63
7.3.110.0100.00614.92
7.3.100.0080.00514.83
7.3.90.0040.01114.77
7.3.80.0000.01414.58
7.3.70.0000.01514.85
7.3.60.0000.01014.85
7.3.50.0030.01014.59
7.3.40.0060.00314.63
7.3.30.0120.00614.64
7.3.20.0080.00816.64
7.3.10.0130.00316.55
7.3.00.0120.00716.44
7.2.330.0150.00916.68
7.2.320.0130.01016.70
7.2.310.0120.01216.70
7.2.300.0040.01516.61
7.2.290.0060.01216.73
7.2.260.0000.01614.99
7.2.250.0070.01115.12
7.2.240.0030.01414.91
7.2.230.0030.01415.14
7.2.220.0060.00615.09
7.2.210.0090.00015.04
7.2.200.0030.01014.86
7.2.190.0170.00014.75
7.2.180.0080.00414.96
7.2.170.0080.00614.96
7.2.160.0040.00814.99
7.2.150.0070.00716.98
7.2.140.0040.01116.71
7.2.130.0050.01616.81
7.2.120.0090.00816.79
7.2.110.0090.01016.55
7.2.100.0060.00716.74
7.2.90.0110.00816.77
7.2.80.0050.01216.69
7.2.70.0080.00916.81
7.2.60.0070.01016.63
7.2.50.0100.00516.80
7.2.40.0030.00916.76
7.2.30.0100.00916.90
7.2.20.0070.00616.75
7.2.10.0090.00716.69
7.2.00.0070.00717.90
7.1.330.0130.00315.80
7.1.320.0000.01815.64
7.1.310.0080.00515.99
7.1.300.0090.00315.42
7.1.290.0070.00715.65
7.1.280.0000.01415.64
7.1.270.0030.01015.89
7.1.260.0090.00615.74
7.1.250.0060.01015.45
7.1.240.0070.01015.52
7.1.230.0120.00615.91
7.1.220.0120.00315.75
7.1.210.0000.01315.68
7.1.200.0090.00315.79
7.1.190.0030.01015.51
7.1.180.0070.00715.60
7.1.170.0070.01015.87
7.1.160.0060.00615.87
7.1.150.0040.00715.75
7.1.140.0030.00915.66
7.1.130.0060.00315.42
7.1.120.0040.00415.69
7.1.110.0040.01115.45
7.1.100.0070.00116.94
7.1.90.0050.00515.80
7.1.80.0000.01015.67
7.1.70.0050.00516.41
7.1.60.0030.01116.38
7.1.50.0070.01116.20
7.1.40.0150.00015.89
7.1.30.0030.00615.55
7.1.20.0040.01115.60
7.1.10.0060.00915.62
7.1.00.0080.04018.95
7.0.330.0060.00615.48
7.0.320.0100.00615.23
7.0.310.0030.00615.16
7.0.300.0040.00415.32
7.0.290.0080.00015.43
7.0.280.0030.00614.90
7.0.270.0000.00815.29
7.0.260.0060.00615.34
7.0.250.0030.00515.35
7.0.240.0040.00715.43
7.0.230.0120.00315.34
7.0.220.0080.00415.11
7.0.210.0000.01215.42
7.0.200.0090.01016.05
7.0.190.0040.01115.52
7.0.180.0090.00315.51
7.0.170.0030.01015.41
7.0.160.0070.00715.44
7.0.150.0060.00615.41
7.0.140.0050.04018.67
7.0.130.0000.01215.08
7.0.120.0000.01015.43
7.0.110.0000.01315.28
7.0.100.0230.04317.58
7.0.90.0300.04517.71
7.0.80.0120.02717.66
7.0.70.0120.03217.55
7.0.60.0070.02717.59
7.0.50.0120.02217.68
7.0.40.0020.02716.84
7.0.30.0070.04116.68
7.0.20.0080.01816.77
7.0.10.0090.02616.87
7.0.00.0050.02716.71
5.6.400.0070.00314.34
5.6.390.0060.00914.29
5.6.380.0040.01114.39
5.6.370.0070.00714.20
5.6.360.0030.00914.19
5.6.350.0130.00014.43
5.6.340.0030.01014.41
5.6.330.0030.00614.04
5.6.320.0000.00814.45
5.6.310.0060.00314.37
5.6.300.0100.00614.50
5.6.290.0030.01414.26
5.6.280.0060.03817.74
5.6.270.0060.00314.26
5.6.260.0080.00814.23
5.6.250.0120.04217.46
5.6.240.0050.02817.54
5.6.230.0070.02917.39
5.6.220.0050.03917.55
5.6.210.0080.02517.37
5.6.200.0080.02517.69
5.6.190.0070.01817.66
5.6.180.0030.03717.78
5.6.170.0020.03817.68
5.6.160.0020.02917.56
5.6.150.0070.02717.63
5.6.140.0100.02817.60
5.6.130.0050.02817.88
5.6.120.0080.02217.70
5.6.110.0080.02317.80
5.6.100.0000.03117.67
5.6.90.0040.02717.66
5.6.80.0080.02217.33
5.6.70.0030.02317.16
5.6.60.0080.03317.25
5.6.50.0030.02317.49
5.6.40.0030.03017.53
5.6.30.0070.02417.41
5.6.20.0050.02617.30
5.6.10.0020.03017.35
5.6.00.0040.04717.31
5.5.380.0110.02917.27
5.5.370.0070.02517.37
5.5.360.0080.03617.08
5.5.350.0070.02517.39
5.5.340.0030.02417.54
5.5.330.0080.03317.30
5.5.320.0030.02517.39
5.5.310.0020.03917.62
5.5.300.0050.02217.55
5.5.290.0030.04517.54
5.5.280.0020.03217.41
5.5.270.0050.03217.49
5.5.260.0050.02517.38
5.5.250.0050.02517.44
5.5.240.0050.02817.20
5.5.230.0000.02917.09
5.5.220.0080.02017.16
5.5.210.0070.02317.23
5.5.200.0050.02417.11
5.5.190.0060.02317.33
5.5.180.0060.03017.30
5.5.170.0040.00814.19
5.5.160.0020.04317.21
5.5.150.0030.04817.00
5.5.140.0110.03817.31
5.5.130.0030.04917.30
5.5.120.0050.04517.21
5.5.110.0030.04016.98
5.5.100.0080.04117.19
5.5.90.0110.03817.09
5.5.80.0050.04317.12
5.5.70.0070.02517.21
5.5.60.0080.03817.06
5.5.50.0030.04517.23
5.5.40.0090.03917.08
5.5.30.0080.03716.97
5.5.20.0070.04416.92
5.5.10.0080.03117.20
5.5.00.0120.03617.12
5.4.450.0000.02714.98
5.4.440.0050.02215.16
5.4.430.0100.01515.20
5.4.420.0020.02315.20
5.4.410.0050.02815.17
5.4.400.0020.02314.97
5.4.390.0050.02214.85
5.4.380.0030.02214.96
5.4.370.0070.03214.80
5.4.360.0030.02515.09
5.4.350.0050.02115.05
5.4.340.0000.02515.11
5.4.330.0000.01011.00
5.4.320.0050.03014.89
5.4.310.0070.03814.98
5.4.300.0050.04314.99
5.4.290.0010.04615.03
5.4.280.0030.04015.05
5.4.270.0080.03015.04
5.4.260.0050.03914.90
5.4.250.0050.03915.09
5.4.240.0070.03914.87
5.4.230.0030.04114.92
5.4.220.0140.03014.97
5.4.210.0080.04015.01
5.4.200.0070.02514.89
5.4.190.0070.03814.93
5.4.180.0020.04114.91
5.4.170.0050.02814.89
5.4.160.0120.03514.73
5.4.150.0060.03614.97
5.4.140.0030.04213.71
5.4.130.0060.03513.64
5.4.120.0050.03713.49
5.4.110.0050.02713.54
5.4.100.0050.03813.67
5.4.90.0060.04013.41
5.4.80.0020.04213.70
5.4.70.0080.04013.54
5.4.60.0080.03513.76
5.4.50.0080.03813.63
5.4.40.0030.02413.68
5.4.30.0060.03513.53
5.4.20.0020.02913.45
5.4.10.0050.03813.67
5.4.00.0050.04013.36
5.3.290.0070.06714.68
5.3.280.0100.07014.61
5.3.270.0070.07314.54
5.3.260.0030.08014.57
5.3.250.0170.06314.54
5.3.240.0100.07014.54
5.3.230.0100.06314.48
5.3.220.0070.07014.58
5.3.210.0100.07014.52
5.3.200.0170.06314.45
5.3.190.0100.07314.49
5.3.180.0170.06314.52
5.3.170.0170.06314.60
5.3.160.0170.06314.40
5.3.150.0130.06714.58
5.3.140.0030.09014.57
5.3.130.0130.06714.56
5.3.120.0030.07314.51
5.3.110.0070.08014.52
5.3.100.0070.08014.04
5.3.90.0100.06713.99
5.3.80.0130.07014.02
5.3.70.0030.08013.97
5.3.60.0070.06713.93
5.3.50.0130.06313.93
5.3.40.0070.07313.94
5.3.30.0070.07013.88
5.3.20.0070.07013.64
5.3.10.0070.06313.59
5.3.00.0100.05713.52
5.2.170.0070.06311.21
5.2.160.0100.05711.03
5.2.150.0070.05311.23
5.2.140.0000.06711.03
5.2.130.0070.05711.09
5.2.120.0070.06010.99
5.2.110.0070.06011.14
5.2.100.0130.05011.03
5.2.90.0070.06311.14
5.2.80.0030.06711.19
5.2.70.0100.06310.97
5.2.60.0000.06711.06
5.2.50.0070.03311.02
5.2.40.0070.06010.86
5.2.30.0030.06310.99
5.2.20.0030.06310.98
5.2.10.0100.05710.95
5.2.00.0070.05710.81
5.1.60.0130.04310.65
5.1.50.0030.05710.65
5.1.40.0070.05310.65
5.1.30.0030.05710.65
5.1.20.0070.05310.65
5.1.10.0030.05010.65
5.1.00.0030.05710.65
5.0.50.0030.04710.65
5.0.40.0000.04310.65
5.0.30.0130.05710.65
5.0.20.0030.03010.65
5.0.10.0000.04710.65
5.0.00.0000.05710.65
4.4.90.0070.01710.65
4.4.80.0030.03310.65
4.4.70.0070.03010.65
4.4.60.0000.04010.65
4.4.50.0030.03310.65
4.4.40.0100.05010.65
4.4.30.0030.03310.65
4.4.20.0030.03710.65
4.4.10.0000.03310.65
4.4.00.0030.05010.65
4.3.110.0000.03710.65
4.3.100.0070.03010.65
4.3.90.0000.02310.65
4.3.80.0070.05010.65
4.3.70.0070.03010.65
4.3.60.0000.03310.65
4.3.50.0030.03710.65
4.3.40.0030.05710.65
4.3.30.0000.03710.65
4.3.20.0030.03710.65
4.3.10.0070.03010.65
4.3.00.0030.03710.65

preferences:
48.71 ms | 401 KiB | 5 Q