3v4l.org

run code in 300+ PHP versions simultaneously
<?php include_once('controller/contents.php') ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>PSNDL - Contents</title> <link rel="stylesheet" href="../assets/bootstrap/css/bootstrap.css" type="text/css"> </head> <body> <?php include_once('fragment/navbar.php') ?> <div class="container"> <div> <ul class="nav nav-tabs"> <li class="active"><a href="#tab_contents" data-toggle="tab">Database Contents</a></li> <li><a href="#tab_waiting_approval" data-toggle="tab">Waiting approval</a></li> <li><a href="#tab_download_database" data-toggle="tab">Download database</a></li> </ul> <div class="tab-content" id="tabs"> <!-- Database contents tab --> <div class="tab-pane fade active in" id="tab_contents"> <nav class="nav"> <h2 class="navbar-left">Packages</h2> <!-- Search form --> <form action="" class="navbar-form navbar-right" method="get"> <div class="form-group"> <input type="text" name="txt_search" class="form-control" placeholder="Search" value="<?php echo $keptSearch ?>"/> </div> <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button> </form> </nav> <?php if (count($packages) > 0) { ?> <table class="table table-hover table-bordered"> <thead> <tr> <th>ID</th> <th>Category</th> <th>Title</th> <th>Region</th> <th>Author</th> <th>Download count</th> <th>View package</th> <?php if ($hasEditPermission) echo '<th>Edit</th>' ?> </tr> </thead> <tbody> <?php foreach ($packages as $pkgEntry) { ?> <tr> <?php echo "<td>{$pkgEntry->getPackageID()}</td>" ?> <?php echo "<td>{$pkgEntry->getCategory()}</td>" ?> <?php echo "<td>{$pkgEntry->getTitle()}</td>" ?> <?php echo "<td>{$pkgEntry->getRegion()}</td>" ?> <?php echo "<td>{$pkgEntry->getAuthor()}</td>" ?> <?php echo "<td>{$pkgEntry->getDownloadCount()}</td>" ?> <?php echo "<td class='text-center'><a class='btn btn-primary' href='view_package.php?id={$pkgEntry->getID()}'>View package</a></td>" ?> <!-- Edit button --> <?php if ($hasEditPermission) echo "<td class='text-center'><a class='btn btn-success' href='edit_package.php?id={$pkgEntry->getID()}'>Edit</a></td>" ?> </tr> <?php } ?> </tbody> </table> <form action="contents.php"> <nav> <?php buildPackagesPager(); ?> </nav> </form> <?php } else { ?> <h5>No packages found.</h5> <?php } ?> </div> <!-- End database contents tab --> <!-- Waiting approval tab --> <div class="tab-pane" id="tab_waiting_approval"> <nav class="nav"> <h2 class="navbar-left">Pending packages</h2> </nav> <?php if (count($packagesWaiting) > 0) { ?> <table class="table table-hover table-bordered"> <thead> <tr> <th>ID</th> <th>Category</th> <th>Title</th> <th>Region</th> <th>Author</th> <th>Download count</th> <th>View package</th> <?php if ($hasEditPermission) echo '<th>Edit</th>' ?> </tr> </thead> <tbody> <?php foreach ($packagesWaiting as $pkgEntry) { ?> <tr> <?php echo "<td>{$pkgEntry->getPackageID()}</td>" ?> <?php echo "<td>{$pkgEntry->getCategory()}</td>" ?> <?php echo "<td>{$pkgEntry->getTitle()}</td>" ?> <?php echo "<td>{$pkgEntry->getRegion()}</td>" ?> <?php echo "<td>{$pkgEntry->getAuthor()}</td>" ?> <?php echo "<td>{$pkgEntry->getDownloadCount()}</td>" ?> <?php echo "<td class='text-center'><a class='btn btn-primary' href='view_package.php?id={$pkgEntry->getID()}'>View package</a></td>" ?> <!-- Edit button --> <?php if ($hasEditPermission) echo "<td class='text-center'><a class='btn btn-success' href='edit_package.php?id={$pkgEntry->getID()}'>Edit</a></td>" ?> </tr> <?php } ?> </tbody> </table> <?php } else { ?> <h5>No pending packages</h5> <?php } ?> </div> <!-- End waiting approval tab --> <!-- Download database tab --> <div class="tab-pane" id="tab_download_database"> <div class="jumbotron"> <h2>Downloading the database</h2> <p style="font-size: 16px"> Downloading the database is only useful for users who still want to use old PSNDLv1, PSNStuffX or any compatible software. <br/> Please note that I highly recommend you to get used to this website instead. </p> <a class="btn btn-primary btn-lg" href="/controller/download_database.php">Download</a> </div> </div> <!-- End download database tab --> </div> </div> </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.0090.01216.63
8.3.50.0090.01022.09
8.3.40.0120.00318.79
8.3.30.0210.00018.80
8.3.20.0030.00520.24
8.3.10.0070.00721.77
8.3.00.0040.00419.25
8.2.180.0140.00725.92
8.2.170.0130.00619.04
8.2.160.0120.00322.96
8.2.150.0060.00325.66
8.2.140.0000.00824.66
8.2.130.0090.00020.65
8.2.120.0070.00726.16
8.2.110.0000.01020.55
8.2.100.0080.00417.84
8.2.90.0030.00617.91
8.2.80.0040.00421.06
8.2.70.0080.00017.75
8.2.60.0000.00918.18
8.2.50.0000.00818.07
8.2.40.0040.00419.65
8.2.30.0040.00420.70
8.2.20.0030.00617.78
8.2.10.0030.00518.15
8.2.00.0040.00418.10
8.1.280.0170.00325.92
8.1.270.0000.00824.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00620.64
8.1.230.0040.00822.82
8.1.220.0040.00417.74
8.1.210.0090.00018.85
8.1.200.0040.00417.48
8.1.190.0070.00017.59
8.1.180.0030.00718.10
8.1.170.0030.00618.73
8.1.160.0000.00822.15
8.1.150.0000.00818.93
8.1.140.0080.00019.53
8.1.130.0070.00017.65
8.1.120.0050.00317.52
8.1.110.0040.00417.36
8.1.100.0050.00417.47
8.1.90.0040.00417.38
8.1.80.0030.00617.46
8.1.70.0050.00317.39
8.1.60.0000.00917.68
8.1.50.0030.00617.68
8.1.40.0040.00417.64
8.1.30.0000.00817.62
8.1.20.0000.00817.69
8.1.10.0040.00417.64
8.1.00.0000.00817.61
8.0.300.0030.00620.34
8.0.290.0030.00516.88
8.0.280.0070.00018.66
8.0.270.0040.00417.46
8.0.260.0030.00317.49
8.0.250.0040.00417.06
8.0.240.0000.00717.16
8.0.230.0000.00717.16
8.0.220.0000.00817.13
8.0.210.0040.00417.03
8.0.200.0030.00317.10
8.0.190.0090.00017.20
8.0.180.0000.00817.05
8.0.170.0020.00517.13
8.0.160.0030.00616.98
8.0.150.0050.00317.08
8.0.140.0050.00217.00
8.0.130.0000.00513.51
8.0.120.0000.00917.02
8.0.110.0050.00217.12
8.0.100.0050.00217.11
8.0.90.0040.00417.18
8.0.80.0060.00917.17
8.0.70.0040.00417.12
8.0.60.0000.00717.09
8.0.50.0000.00717.14
8.0.30.0130.00917.22
8.0.20.0130.01117.40
8.0.10.0040.00417.09
8.0.00.0100.00816.96
7.4.330.0050.00016.79
7.4.320.0030.00316.60
7.4.300.0030.00316.73
7.4.290.0020.00516.54
7.4.280.0030.00616.69
7.4.270.0000.00816.47
7.4.260.0030.00316.65
7.4.250.0060.00316.52
7.4.240.0050.00216.57
7.4.230.0030.00316.55
7.4.220.0100.01716.82
7.4.210.0100.00616.69
7.4.200.0030.00416.52
7.4.160.0080.00816.73
7.4.150.0060.01917.40
7.4.140.0120.01117.86
7.4.130.0070.01316.68
7.4.120.0120.00916.66
7.4.110.0040.01516.68
7.4.100.0070.01116.50
7.4.90.0160.00616.59
7.4.80.0110.00619.39
7.4.70.0060.01216.70
7.4.60.0100.01116.69
7.4.50.0040.01116.68
7.4.40.0140.00316.75
7.4.30.0060.01216.56
7.4.00.0030.01014.96
7.3.330.0060.00013.34
7.3.320.0000.00613.24
7.3.310.0030.00316.34
7.3.300.0030.00316.50
7.3.290.0030.00316.45
7.3.280.0070.01116.49
7.3.270.0030.01517.40
7.3.260.0080.00816.55
7.3.250.0100.01016.53
7.3.240.0140.00616.49
7.3.230.0110.00716.70
7.3.210.0070.01016.62
7.3.200.0110.00716.52
7.3.190.0080.00816.52
7.3.180.0030.01416.47
7.3.170.0130.00616.49
7.3.160.0060.00916.50
7.3.120.0100.00715.00
7.3.110.0040.01114.96
7.3.100.0090.00615.06
7.3.90.0070.01014.96
7.3.80.0090.00314.95
7.3.70.0110.00414.71
7.3.60.0030.00914.86
7.3.50.0130.00315.00
7.3.40.0100.00314.92
7.3.30.0070.00714.86
7.3.20.0030.01016.76
7.3.10.0070.00716.59
7.3.00.0030.01016.61
7.2.330.0060.01616.77
7.2.320.0090.00916.60
7.2.310.0080.01116.80
7.2.300.0040.01716.59
7.2.290.0060.01016.82
7.2.240.0100.00714.76
7.2.230.0070.01015.16
7.2.220.0100.00715.23
7.2.210.0070.01015.15
7.2.200.0070.00415.10
7.2.190.0000.01514.98
7.2.180.0090.00615.10
7.2.170.0100.00715.22
7.2.160.0000.01714.93
7.2.150.0030.01316.88
7.2.140.0030.00917.05
7.2.130.0080.00316.82
7.2.120.0110.00016.97
7.2.110.0070.00316.86
7.2.100.0090.00616.71
7.2.90.0080.00316.89
7.2.80.0100.00316.95
7.2.70.0040.01116.73
7.2.60.0070.00816.79
7.2.50.0070.00717.04
7.2.40.0100.00316.83
7.2.30.0100.00316.98
7.2.20.0080.00417.01
7.2.10.0030.00916.69
7.2.00.0070.00518.17
7.1.330.0070.00415.86
7.1.320.0060.00615.88
7.1.310.0060.01015.83
7.1.300.0110.00015.83
7.1.290.0030.00615.59
7.1.280.0080.00316.02
7.1.270.0060.00615.80
7.1.260.0100.00615.74
7.1.250.0110.00415.56
7.1.200.0030.00915.73
7.1.100.0080.00318.15
7.1.70.0080.00817.07
7.1.60.0140.01019.36
7.1.50.0030.01016.80
7.1.00.0000.07722.34
7.0.200.0000.01016.83
7.0.60.0030.04020.11
7.0.50.0100.08017.98
7.0.40.0030.04720.31
7.0.30.0470.07020.10
7.0.20.0330.06320.34
7.0.10.0130.04320.17
7.0.00.0100.06720.00
5.6.280.0070.06320.80
5.6.210.0070.08020.69
5.6.200.0100.08318.21
5.6.190.0070.08320.46
5.6.180.0530.07320.68
5.6.170.0230.05320.34
5.6.160.0200.06020.71
5.6.150.0070.08018.13
5.6.140.0000.04718.16
5.6.130.0070.08018.19
5.6.120.0100.05321.16
5.6.110.0070.07720.97
5.6.100.0130.08321.00
5.6.90.0030.07721.14
5.6.80.0100.06720.30
5.5.350.0200.08320.43
5.5.340.0030.07017.98
5.5.330.0030.06720.24
5.5.320.0230.05720.34
5.5.310.0400.04020.24
5.5.300.0030.08317.98
5.5.290.0130.03317.94
5.5.280.0070.07720.76
5.5.270.0130.06720.89
5.5.260.0030.07720.86
5.5.250.0200.06720.57
5.5.240.0200.04320.38

preferences:
52.65 ms | 401 KiB | 5 Q