3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); require_once __DIR__ . "/../include/modulecheck.php"; require_once __DIR__ . "/../config/config.php"; require_once __DIR__ . "/../include/language.php"; require_once __DIR__ . "/../include/adminlist.php"; ?> <!DOCTYPE html> <html lang="pl"> <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 name="description" content="<?php echo $config["general"]["desc"]; ?>"> <meta name="author" content="Wruczek"> <title><?php echo $config["general"]["title"] . $config["general"]["subtitle"]; ?></title> <!-- Icon --> <link rel="shortcut icon" href="img/icon/icon-64.png"> <!-- Bootswatch --> <link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/superhero/bootstrap.min.css" rel="stylesheet"> <link href="css/theme.css" rel="stylesheet"> <!-- Font Awesome --> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"> <?php if(isset($bansPage)) { ?> <!-- DataTables for Bootstrap --> <link href="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/css/dataTables.bootstrap.min.css" rel="stylesheet"> <?php } ?> <link href="css/flags/famfamfam-flags.min.css" rel="stylesheet"> <!-- Custom CSS --> <link href="css/navbar.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <script src="api/i18n.php"></script> <!--[if IE]> <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <nav class="navbar navbar-default navbar-fixed-top"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> <span class="sr-only"><?php tl($lang["navbar"]["navigation"]); ?></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="."><img style="width: 64px;" src="img/icon/icon-64.png" alt="Logo strony"><?php echo $config["general"]["title"]; ?></a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li><a href="viewer<?php echo $config["general"]["enablehta"] ? "" : ".php" ?>"><i class="fa fa-eye" aria-hidden="true"></i> <?php tl($lang["navbar"]["viewer"]); ?></a></li> <li><a href="bans<?php echo $config["general"]["enablehta"] ? "" : ".php" ?>"><i class="fa fa-ban" aria-hidden="true"></i> <?php tl($lang["navbar"]["bans"]); ?></a></li> <li><a href="rules<?php echo $config["general"]["enablehta"] ? "" : ".php" ?>"><i class="fa fa-book" aria-hidden="true"></i> <?php tl($lang["navbar"]["rules"]); ?></a></li> <!-- Nie mam na to czasu <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-television" aria-hidden="true"></i></i>Ranking <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="#"><i class="fa fa-clock-o" aria-hidden="true"></i>Ranking Aktywności</a></li> <li><a href="#"><i class="fa fa-sign-in" aria-hidden="true"></i>Ranking Połaczeń</a></li> <li><a href="#"><i class="fa fa-sign-out" aria-hidden="true"></i>Ranking Połączenia</a></li> </ul> </li> --> </ul> <ul class="nav navbar-nav navbar-right"> <?php foreach ($config["navlinks"] as $navlink) { $icon = $navlink[0]; $text = $navlink[1]; $link = $navlink[2]; ?> <li><a href="<?php echo $link; ?>"><i class="fa <?php echo $icon; ?>" aria-hidden="true"></i> <?php echo $text; ?></a></li> <?php } ?> <li data-toggle="tooltip" data-placement="bottom" title="<?php tl($lang["navbar"]["connecttooltip"], [$config['teamspeak']['displayip']]); ?>"><a href="ts3server://<?php echo $config['teamspeak']['displayip']; ?>"><i class="fa fa-sign-in" aria-hidden="true"></i><?php tl($lang["navbar"]["connect"]); ?></a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="famfamfam-flags <?php echo $langcode == "en" ? "gb" : $langcode; ?>" aria-hidden="true"></i> Language <span class="caret"></span></a> <ul class="dropdown-menu"> <li><a href="?lang=en"><i class="famfamfam-flags gb" aria-hidden="true"></i> English</a></li> <li><a href="?lang=pl"><i class="famfamfam-flags pl" aria-hidden="true"></i> Polski</a></li> <li><a href="?lang=de"><i class="famfamfam-flags de" aria-hidden="true"></i> Deutsch</a></li> <li><a href="?lang=nl"><i class="famfamfam-flags nl" aria-hidden="true"></i> Nederlands</a></li> </ul> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --> </nav> <div class="container"> <div class="row"> <div class="col-md-3 col-md-push-9"> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-bar-chart" aria-hidden="true"></i> <?php tl($lang["serverstatus"]["title"]); ?></div> <div class="panel-body"> <div class="serverstatus"> <p><i class="fa fa-globe" aria-hidden="true"></i> <?php tl($lang["serverstatus"]["address"]); ?>: <a href="ts3server://<?php echo $config['teamspeak']['displayip']; ?>"><?php echo $config['teamspeak']['displayip']; ?></a></p> <div id="serverstatus"> <div class="text-center"> <i class="fa fa-refresh fa-spin fa-3x fa-fw"></i> <span class="sr-only"><?php tl($lang["serverstatus"]["loading"]); ?></span> </div> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-shield" aria-hidden="true"></i> <?php tl($lang["adminlist"]["title"]); ?> <span class="pullright"><i class="fa fa-question-circle" aria-hidden="true" data-toggle="tooltip" data-placement="bottom" title="<?php tl($lang["adminlist"]["lastupdate"], [$adminlist[1]]); ?>"></i></span></div> <div class="panel-body adminlist"> <?php echo $adminlist[0]; ?> </div> </div> <?php if(!empty($config['contact']['text'])) { ?> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-envelope" aria-hidden="true"></i> <?php echo $config['contact']['title']; ?></div> <div class="panel-body"> <?php echo $config['contact']['text']; ?> </div> </div> <?php } ?> <div class="panel panel-default"> <div class="panel-heading"><i class="fa fa-eye" aria-hidden="true"></i> <?php tl($lang["svpb"]["title"]); ?></div> <div class="panel-body"> <a href="viewer<?php echo $config["general"]["enablehta"] ? "" : ".php" ?>" class="btn btn-primary btn-lg btn-block"><i class="fa fa-eye" aria-hidden="true"></i> <?php tl($lang["svpb"]["takealook"]); ?></a> </div> </div> </div> <div class="col-md-9 col-md-pull-3">

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)
7.1.70.0030.00616.81
7.1.60.0100.01417.14
7.1.00.0000.08022.44
7.0.200.0060.01216.56
7.0.100.0100.06020.16
7.0.90.0070.07320.13
7.0.80.0200.07719.98
7.0.70.0100.06020.09
7.0.60.0130.05020.02
7.0.50.0100.05720.43
7.0.40.0030.06020.32
7.0.30.0130.06320.39
7.0.20.0170.06020.48
7.0.10.0170.06020.45
7.0.00.0100.05720.41
5.6.250.0130.05720.81
5.6.240.0200.05020.77
5.6.230.0030.07320.66
5.6.220.0100.06320.53
5.6.210.0130.05020.72
5.6.200.0030.06721.15
5.6.190.0130.05021.03
5.6.180.0070.07021.11
5.6.170.0130.05721.20
5.6.160.0070.06021.11
5.6.150.0100.07021.11
5.6.140.0130.05321.11
5.6.130.0030.06721.09
5.6.120.0100.06721.22
5.6.110.0200.04721.18
5.6.100.0070.06021.11
5.6.90.0130.05321.07
5.6.80.0100.05020.49
5.6.70.0100.07720.51
5.6.60.0130.05020.47
5.6.50.0170.05020.44
5.6.40.0030.06320.48
5.6.30.0130.05320.51
5.6.20.0130.07720.52
5.6.10.0170.04720.40
5.6.00.0100.06320.47
5.5.380.0300.05720.59
5.5.370.0130.06020.48
5.5.360.0130.08320.44
5.5.350.0030.06720.52
5.5.340.0100.06020.89
5.5.330.0170.05720.87
5.5.320.0130.05320.80
5.5.310.0130.06720.96
5.5.300.0100.06020.96
5.5.290.0200.05320.90
5.5.280.0170.05720.86
5.5.270.0070.06720.96
5.5.260.0100.06020.73
5.5.250.0130.06320.79
5.5.240.0230.04720.34
5.5.230.0170.08020.26
5.5.220.0130.07720.11
5.5.210.0200.04720.35
5.5.200.0170.05720.27
5.5.190.0070.07020.31
5.5.180.0170.06320.32
5.5.160.0170.06020.22
5.5.150.0130.05320.32
5.5.140.0030.07720.14
5.5.130.0130.05320.29
5.5.120.0100.05320.32
5.5.110.0130.05020.30
5.5.100.0170.05020.24
5.5.90.0100.06020.23
5.5.80.0100.05720.21
5.5.70.0230.05020.15
5.5.60.0130.05320.19
5.5.50.0130.05020.08
5.5.40.0230.06320.02
5.5.30.0170.05020.14
5.5.20.0130.05320.21
5.5.10.0130.05020.09
5.5.00.0270.04320.10
5.4.450.0100.06019.48
5.4.440.0070.06319.38
5.4.430.0230.07019.50
5.4.420.0230.06719.33
5.4.410.0130.04719.34
5.4.400.0170.04719.01
5.4.390.0170.04719.07
5.4.380.0170.07018.84
5.4.370.0030.05719.01
5.4.360.0130.05019.15
5.4.350.0200.04019.10
5.4.340.0130.06319.18
5.4.320.0070.05719.08
5.4.310.0100.05019.18
5.4.300.0030.05319.08
5.4.290.0100.05019.02
5.4.280.0070.05719.04
5.4.270.0070.05719.07
5.4.260.0100.05019.17
5.4.250.0170.04719.18
5.4.240.0100.05719.09
5.4.230.0070.06319.18
5.4.220.0200.04719.17
5.4.210.0100.05719.02
5.4.200.0100.06719.13
5.4.190.0270.04019.14
5.4.180.0170.04719.17
5.4.170.0070.05319.13
5.4.160.0170.04719.13
5.4.150.0170.04319.00
5.4.140.0100.05716.37
5.4.130.0070.05316.29
5.4.120.0100.05316.22
5.4.110.0130.04716.27
5.4.100.0130.04716.27
5.4.90.0200.05716.24
5.4.80.0100.04716.29
5.4.70.0100.05016.32
5.4.60.0100.05016.50
5.4.50.0200.05016.27
5.4.40.0100.05316.32
5.4.30.0130.04716.18
5.4.20.0000.06316.37
5.4.10.0100.05716.37
5.4.00.0070.05015.75
5.3.290.0030.06714.60
5.3.280.0200.04314.43
5.3.270.0100.05714.52
5.3.260.0100.05014.60
5.3.250.0070.05714.52
5.3.240.0170.06314.54
5.3.230.0130.04714.49
5.3.220.0200.04314.51
5.3.210.0070.05714.48
5.3.200.0130.04714.38
5.3.190.0070.06714.38
5.3.180.0100.05014.46
5.3.170.0200.04014.52
5.3.160.0170.05014.51
5.3.150.0170.04314.56
5.3.140.0070.05314.38
5.3.130.0070.06314.49
5.3.120.0100.05314.50
5.3.110.0070.06314.54
5.3.100.0130.04713.90
5.3.90.0030.05313.97
5.3.80.0000.06313.96
5.3.70.0100.05013.98
5.3.60.0130.04713.92
5.3.50.0070.05313.92
5.3.40.0170.04313.92
5.3.30.0100.04713.85
5.3.20.0070.04713.68
5.3.10.0170.04013.57
5.3.00.0030.05313.45
5.2.170.0030.05011.10
5.2.160.0070.04311.18
5.2.150.0230.04711.02
5.2.140.0070.04311.09
5.2.130.0030.04311.05
5.2.120.0070.03711.14
5.2.110.0100.03311.15
5.2.100.0030.04311.08
5.2.90.0070.03711.14
5.2.80.0100.03711.10
5.2.70.0030.05011.05
5.2.60.0100.03711.05
5.2.50.0100.03711.06
5.2.40.0030.04010.83
5.2.30.0000.04710.85
5.2.20.0070.03710.93
5.2.10.0100.04010.85
5.2.00.0070.05710.65
5.1.60.0100.04310.04
5.1.50.0170.02310.05
5.1.40.0070.03310.00
5.1.30.0070.04310.34
5.1.20.0070.03710.38
5.1.10.0030.04010.05
5.1.00.0100.03010.09
5.0.50.0070.0278.54
5.0.40.0070.0238.47
5.0.30.0000.0478.24
5.0.20.0070.0238.21
5.0.10.0070.0238.17
5.0.00.0070.0378.00
4.4.90.0100.0175.81
4.4.80.0000.0235.84
4.4.70.0070.0205.76
4.4.60.0000.0235.80
4.4.50.0070.0175.82
4.4.40.0000.0375.84
4.4.30.0030.0205.80
4.4.20.0030.0235.94
4.4.10.0070.0175.91
4.4.00.0100.0275.83
4.3.110.0070.0175.73
4.3.100.0000.0235.78
4.3.90.0000.0235.79
4.3.80.0030.0305.67
4.3.70.0030.0205.68
4.3.60.0000.0235.71
4.3.50.0000.0235.70
4.3.40.0000.0375.65
4.3.30.0030.0205.58
4.3.20.0000.0235.58
4.3.10.0000.0235.58
4.3.00.0030.0205.58

preferences:
41.74 ms | 403 KiB | 5 Q