3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Bootstrap --> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <?php $passwd=$_POST["passwd"]; # settare nella riga seguente la password if ($passwd=="med2014"): ?> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Language" content="it"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Area Riservata Clinica del Mediterraneo - Ragusa</title> </head> <body bgcolor="#FFFFFF"> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="bootstrap/js/bootstrap.min.js"></script> </body> <br/> <div class="container"> <div class="row"> <div class="col-md-2"></div> <div class="col-md-8"> <?php print " <table class='table table-bordered table-striped table-hover' > <thead> <tr> <th >Numero cartella</th> <th >Link per Download</th> </tr> </thead>"; //Imposto la directory da leggere //$directory = "/web/htdocs/www.gemis.it/ftp/riservata/"; foreach (glob("*.pdf") as $filename) { print " <tr> <td>".$filename."</td> <td><a href=".$filename." target='_blank' ><font color='red' size='3' face='Verdana, Arial, Helvetica, sans-serif'>Download</font></a></td> <tr/>"; } print "</table>"; ?> </div> <div class="col-md-2"></div> </div> </div> <!------------------- fine html pagina riservata--------------------> <? else: ?> <!------------------- inizio html pagina errore--------------------> <body bgcolor="#FFCB8C"> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" width="90%"> <tr> <td width="100%" bgcolor="#0099CC"> <p align="center"><font face="Verdana" size="2" color="#FFFFFF">area protetta, non sei autorizzato all'accesso</font></td> </tr> <tr> <td width="100%" height="290"> <p align="center"><font face="Verdana" size="2"><b><a href="accesso_area.htm">L'ACCESSO ALL'AREA NON E' STATO GARANTITO: RITENTARE O RIVOLGERSI ALL'AMMINISTRATORE SE SI RITIENE DI AVER DIRITTO ALL'ACCESSO</a></b></font></td> </tr> </table> </center> </div> <!------------------- fine html pagina errore--------------------> <? endif; ?> </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.0140.00316.75
8.3.50.0190.00321.96
8.3.40.0070.00718.79
8.3.30.0070.00718.89
8.3.20.0040.00420.34
8.3.10.0070.00023.56
8.3.00.0060.00319.38
8.2.180.0060.00918.13
8.2.170.0080.00822.96
8.2.160.0100.01020.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0110.00726.16
8.2.120.0050.00522.16
8.2.110.0030.00622.12
8.2.100.0090.00317.78
8.2.90.0030.00619.11
8.2.80.0000.00717.97
8.2.70.0060.00317.50
8.2.60.0090.00017.91
8.2.50.0060.00318.07
8.2.40.0060.00318.09
8.2.30.0040.00417.98
8.2.20.0030.00517.50
8.2.10.0040.00417.81
8.2.00.0060.00617.58
8.1.280.0070.01025.92
8.1.270.0070.00023.92
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0050.00523.92
8.1.230.0080.00319.14
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0100.00017.10
8.1.190.0040.00417.17
8.1.180.0040.00418.10
8.1.170.0040.00418.39
8.1.160.0030.00321.99
8.1.150.0070.00018.52
8.1.140.0000.00717.33
8.1.130.0070.00017.64
8.1.120.0000.00717.36
8.1.110.0050.00317.19
8.1.100.0060.00317.26
8.1.90.0030.00317.19
8.1.80.0000.00817.34
8.1.70.0000.00617.25
8.1.60.0040.00417.46
8.1.50.0040.00417.29
8.1.40.0020.00517.41
8.1.30.0030.00617.48
8.1.20.0070.00017.46
8.1.10.0040.00417.35
8.1.00.0030.00517.26
8.0.300.0000.00718.77
8.0.290.0040.00416.93
8.0.280.0000.00718.34
8.0.270.0000.00717.04
8.0.260.0000.00617.19
8.0.250.0030.00317.02
8.0.240.0050.00216.89
8.0.230.0040.00416.92
8.0.220.0000.00816.91
8.0.210.0030.00316.76
8.0.200.0030.00316.99
8.0.190.0060.00316.89
8.0.180.0040.00416.88
8.0.170.0050.00316.96
8.0.160.0000.00816.80
8.0.150.0040.00416.91
8.0.140.0050.00216.85
8.0.130.0060.00013.43
8.0.120.0050.00515.05
8.0.110.0060.00415.16
8.0.100.0000.00915.06
8.0.90.0070.00315.08
8.0.80.0050.00915.14
8.0.70.0060.00415.14
8.0.60.0060.00415.16
8.0.50.0050.00515.04
8.0.30.0110.00515.87
8.0.20.0090.00916.06
8.0.10.0020.00815.13
8.0.00.0070.01215.68
7.4.330.0000.00615.00
7.4.320.0000.00616.48
7.4.300.0000.00616.32
7.4.290.0030.00316.45
7.4.280.0040.00416.42
7.4.270.0070.00016.32
7.4.260.0070.00016.41
7.4.250.0080.00414.80
7.4.240.0070.00215.36
7.4.230.0030.00714.87
7.4.220.0080.00714.81
7.4.210.0080.00815.70
7.4.200.0070.00314.80
7.4.190.0060.00414.98
7.4.180.0100.00213.31
7.4.160.0130.00014.95
7.4.150.0080.00615.33
7.4.140.0110.00816.34
7.4.130.0110.00415.31
7.4.120.0100.00515.30
7.4.110.0110.00514.85
7.4.100.0090.00814.91
7.4.90.0090.00514.87
7.4.80.0070.00916.36
7.4.70.0020.01214.69
7.4.60.0100.00514.79
7.4.50.0070.00314.62
7.4.40.0070.00517.99
7.4.30.0080.00514.77
7.4.20.0080.00413.22
7.4.10.0030.00813.18
7.4.00.0020.01113.93
7.3.330.0000.00513.04
7.3.320.0030.00313.24
7.3.310.0040.00614.68
7.3.300.0040.00614.56
7.3.290.0080.00514.65
7.3.280.0080.00915.45
7.3.270.0090.00615.23
7.3.260.0090.00514.73
7.3.250.0080.00815.25
7.3.240.0120.00714.79
7.3.230.0090.00614.71
7.3.220.0090.00313.18
7.3.210.0100.00614.69
7.3.200.0080.00816.34
7.3.190.0040.01014.69
7.3.180.0120.00514.58
7.3.170.0070.00714.73
7.3.160.0070.00814.80
7.3.150.0120.00013.20
7.3.140.0120.00013.03
7.3.130.0070.00513.18
7.3.120.0090.00413.90
7.3.110.0060.00613.18
7.3.100.0060.00613.03
7.3.90.0120.00013.49
7.3.80.0040.00913.16
7.3.70.0130.00013.27
7.3.60.0040.00813.41
7.3.50.0060.00613.29
7.3.40.0060.00313.17
7.3.30.0090.00313.28
7.3.20.0100.00015.16
7.3.10.0080.00515.47
7.3.00.0130.00215.61
7.2.340.0080.00413.14
7.2.330.0140.00214.83
7.2.320.0140.00414.81
7.2.310.0070.01014.78
7.2.300.0120.00514.82
7.2.290.0100.00714.65
7.2.280.0040.00813.14
7.2.270.0090.00313.19
7.2.260.0090.00313.02
7.2.250.0120.00013.13
7.2.240.0000.01213.09
7.2.230.0120.00013.17
7.2.220.0060.00613.26
7.2.210.0060.00613.07
7.2.200.0070.00713.33
7.2.190.0060.00613.20
7.2.180.0090.00313.06
7.2.170.0060.00613.19
7.2.160.0130.00013.31
7.2.150.0070.00714.99
7.2.140.0040.00915.09
7.2.130.0090.00615.68
7.2.120.0150.00215.57
7.2.110.0110.00515.63
7.2.100.0120.00415.55
7.2.90.0060.01015.64
7.2.80.0070.00715.67
7.2.70.0120.00515.86
7.2.60.0100.00915.69
7.2.50.0110.00515.79
7.2.40.0110.00315.47
7.2.30.0090.00815.78
7.2.20.0140.00115.46
7.2.10.0120.00615.63
7.2.00.0090.00417.00
7.1.330.0080.00414.01
7.1.320.0060.00614.08
7.1.310.0080.00314.11
7.1.300.0090.00214.11
7.1.290.0060.00613.95
7.1.280.0060.00613.95
7.1.270.0090.00314.11
7.1.260.0100.00214.07
7.1.250.0100.00414.45
7.1.240.0100.00213.88
7.1.230.0040.00814.10
7.1.220.0060.00614.00
7.1.210.0120.00014.14
7.1.200.0100.00214.06
7.1.190.0040.00813.92
7.1.180.0060.00614.00
7.1.170.0080.00414.04
7.1.160.0000.01213.99
7.1.150.0000.01214.06
7.1.140.0060.00614.13
7.1.130.0000.01214.02
7.1.120.0120.00014.04
7.1.110.0080.00414.14
7.1.100.0030.01116.03
7.1.90.0120.00014.07
7.1.80.0040.00814.00
7.1.70.0340.00414.70
7.1.60.0300.00914.73
7.1.50.0480.00514.66
7.1.40.0290.00714.66
7.1.30.0290.00814.56
7.1.20.0270.00514.59
7.1.10.0080.00415.25
7.1.00.0090.00615.34
7.0.330.0100.00213.94
7.0.320.0130.00013.79
7.0.310.0100.00213.93
7.0.300.0130.00013.79
7.0.290.0110.00313.95
7.0.280.0050.00913.97
7.0.270.0100.00313.80
7.0.260.0090.00313.93
7.0.250.0070.00713.99
7.0.240.0100.00313.98
7.0.230.0110.00314.12
7.0.220.0130.00013.94
7.0.210.0040.00913.99
7.0.200.0430.00414.62
7.0.190.0460.00714.66
7.0.180.0290.00714.60
7.0.170.0350.00414.57
7.0.160.0260.00514.51
7.0.150.0120.00115.04
7.0.140.0100.00315.01
7.0.130.0090.00415.30
7.0.120.0100.00315.23
7.0.110.0090.00615.03
7.0.100.0110.00215.05
7.0.90.0080.00715.04
7.0.80.0040.00915.11
7.0.70.0130.00214.99
7.0.60.0070.00514.92
7.0.50.0070.00615.01
7.0.40.0070.00814.49
7.0.30.0060.00814.53
7.0.20.0090.00414.52
7.0.10.0090.00514.49
7.0.00.0100.00314.54
5.6.400.0100.00312.64
5.6.390.0040.00912.43
5.6.380.0130.00012.59
5.6.370.0100.00312.57
5.6.360.0140.00012.49
5.6.350.0130.00012.46
5.6.340.0070.00612.57
5.6.330.0040.00912.79
5.6.320.0110.00312.64
5.6.310.0080.00412.57
5.6.300.0060.02616.61
5.6.290.0090.02316.71
5.6.280.0070.02416.81
5.6.270.0070.02416.86
5.6.260.0110.02216.78
5.6.250.0070.04516.79
5.6.240.0080.03916.93
5.6.230.0170.01816.79
5.6.220.0100.02116.81
5.6.210.0040.02716.92
5.6.200.0080.04316.76
5.6.190.0110.02116.88
5.6.180.0050.02616.88
5.6.170.0060.02416.85
5.6.160.0090.02216.79
5.6.150.0080.02516.92
5.6.140.0060.03116.68
5.6.130.0060.02716.86
5.6.120.0040.02716.85
5.6.110.0060.02616.69
5.6.100.0080.02316.75
5.6.90.0120.02416.61
5.6.80.0110.02016.28
5.6.70.0090.02216.38
5.6.60.0060.02916.59
5.6.50.0090.03116.42
5.6.40.0060.02616.38
5.6.30.0090.02316.33
5.6.20.0080.02516.28
5.6.10.0110.01916.41
5.6.00.0070.02316.49
5.5.380.0070.04015.09
5.5.370.0100.01815.03
5.5.360.0080.02215.07
5.5.350.0040.03814.91
5.5.340.0090.02815.18
5.5.330.0090.01915.28
5.5.320.0130.01715.26
5.5.310.0100.02015.30
5.5.300.0110.01915.31
5.5.290.0070.02615.30
5.5.280.0050.02515.25
5.5.270.0060.03015.17
5.5.260.0030.02815.27
5.5.250.0090.02115.31
5.5.240.0040.02314.97
5.5.230.0070.02514.83
5.5.220.0060.02514.93
5.5.210.0050.02815.02
5.5.200.0070.02114.83
5.5.190.0060.02714.85
5.5.180.0070.02114.92
5.5.170.0070.00412.64
5.5.160.0050.02114.92
5.5.150.0030.02414.88
5.5.140.0110.01814.95
5.5.130.0040.02514.75
5.5.120.0030.02614.84
5.5.110.0060.02414.90
5.5.100.0050.02514.99
5.5.90.0090.02614.94
5.5.80.0090.01814.83
5.5.70.0070.02114.76
5.5.60.0020.02914.93
5.5.50.0090.02514.89
5.5.40.0050.02314.84
5.5.30.0090.01815.00
5.5.20.0060.02214.97
5.5.10.0000.03014.86
5.5.00.0060.02214.73
5.4.450.0090.01915.98
5.4.440.0070.02015.97
5.4.430.0100.01915.98
5.4.420.0030.02516.03
5.4.410.0020.02415.72
5.4.400.0040.02315.72
5.4.390.0070.02315.74
5.4.380.0070.01915.77
5.4.370.0130.02115.63
5.4.360.0060.02215.72
5.4.350.0070.02315.76
5.4.340.0090.02215.69
5.4.330.0000.01012.63
5.4.320.0140.01615.81
5.4.310.0060.02115.71
5.4.300.0070.02315.79
5.4.290.0040.02515.84
5.4.280.0140.01515.65
5.4.270.0060.02315.72
5.4.260.0090.02215.68
5.4.250.0120.01415.80
5.4.240.0070.02515.78
5.4.230.0070.01915.62
5.4.220.0050.02215.66
5.4.210.0090.02015.54
5.4.200.0050.02715.73
5.4.190.0040.02915.56
5.4.180.0090.02015.68
5.4.170.0090.02615.73
5.4.160.0070.01915.74
5.4.150.0040.02415.86
5.4.140.0070.02614.54
5.4.130.0070.02114.47
5.4.120.0070.02014.52
5.4.110.0090.01714.44
5.4.100.0080.02114.49
5.4.90.0040.02414.62
5.4.80.0070.02214.69
5.4.70.0100.01514.47
5.4.60.0070.02014.47
5.4.50.0070.01714.50
5.4.40.0040.02114.56
5.4.30.0070.01714.44
5.4.20.0060.02014.62
5.4.10.0100.02214.60
5.4.00.0030.02513.97
5.3.290.0190.01913.84
5.3.280.0100.01614.03
5.3.270.0100.02013.95
5.3.260.0080.02114.03
5.3.250.0030.02513.88
5.3.240.0100.01713.85
5.3.230.0090.01713.85
5.3.220.0040.02213.88
5.3.210.0090.02513.84
5.3.200.0050.02214.00
5.3.190.0090.01913.90
5.3.180.0030.02213.95
5.3.170.0060.02014.08
5.3.160.0020.02613.94
5.3.150.0050.02714.13
5.3.140.0070.02214.05
5.3.130.0020.03613.90
5.3.120.0060.01914.05
5.3.110.0080.03313.98
5.3.100.0040.02113.97
5.3.90.0090.01713.99
5.3.80.0040.02113.92
5.3.70.0050.02113.95
5.3.60.0030.02113.91
5.3.50.0070.01713.87
5.3.40.0070.01913.85
5.3.30.0070.01713.87
5.3.20.0050.02013.99
5.3.10.0060.01713.77
5.3.00.0140.01413.76
5.2.170.0060.01913.46
5.2.160.0060.01513.44
5.2.150.0020.01913.46
5.2.140.0110.02013.55
5.2.130.0030.01813.42
5.2.120.0050.01613.54
5.2.110.0020.01813.42
5.2.100.0070.01413.45
5.2.90.0070.01213.41
5.2.80.0050.01513.48
5.2.70.0070.01313.52
5.2.60.0050.01613.36
5.2.50.0060.01613.42
5.2.40.0030.01713.41
5.2.30.0060.01413.34
5.2.20.0020.01813.44
5.2.10.0030.01613.28
5.2.00.0000.02013.23
5.1.60.0040.01312.93
5.1.50.0050.01213.08
5.1.40.0010.01712.98
5.1.30.0030.01813.14
5.1.20.0040.01412.96
5.1.10.0060.01312.95
5.1.00.0050.01313.02
5.0.50.0030.01112.82
5.0.40.0040.01312.82
5.0.30.0000.02112.82
5.0.20.0020.01212.82
5.0.10.0050.01012.82
5.0.00.0030.02012.82
4.4.90.0020.00912.82
4.4.80.0000.01312.82
4.4.70.0020.01012.82
4.4.60.0020.00912.82
4.4.50.0020.00912.82
4.4.40.0030.01412.82
4.4.30.0060.00712.82
4.4.20.0020.00912.82
4.4.10.0050.00912.82
4.4.00.0030.01212.82
4.3.110.0030.00712.82
4.3.100.0050.01212.82
4.3.90.0020.00812.82
4.3.80.0020.01312.82
4.3.70.0060.00512.82
4.3.60.0000.01112.82
4.3.50.0020.00912.82
4.3.40.0020.01712.82
4.3.30.0030.00712.82
4.3.20.0010.01112.82
4.3.10.0010.00812.82
4.3.00.0000.01012.82

preferences:
42.99 ms | 400 KiB | 5 Q