3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('display_errors', 'On'); error_reporting(E_ALL); $time = microtime(); $time = explode(' ', $time); $time = $time[1] + $time[0]; $start = $time; define("DB_HOST","mysql117.loopia.se"); define("DB_USER","normal@i103189"); define("DB_PASS","KungMicke87"); define("DB_NAME","indiehjaerta_com"); if (true) { } ?> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>indiehjaerta.com - Forum</title> <link href="style_test.css" rel="stylesheet" type="text/css" /> </head> <body> <a href="login.php">Login<a/> - <a href="admin.php">Admin<a/> - <a href="members.php">Members<a/> - <a href="register.php">Register<a/> - <a href="blog.php">Blog<a/> - <a href="news.php">News<a/> - <a href="event.php">Event<a/> - <a href="forum.php">Forum<a/> - <a href="logout.php">Logout<a/> <br /> <hr /> <br /> <? elseif (true) /*elseif /* (isset($_GET['added']) && ($_GET['added'] == 'thread'))*/ { ?> <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td> <strong>Forums</strong> </td> </tr> <tr> <td> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td colspan="3"><strong>Thread Created</strong></td> </tr> <tr> <td colspan="3"><a href="forum.php?fid=$_GET['fid']&tid=$_GET['tid']">Link to thread.</a></td> </tr> </table> </td> </tr> </table> <?php } ?> <?php $time = microtime(); $time = explode(' ', $time); $time = $time[1] + $time[0]; $finish = $time; $total_time = round(($finish - $start), 4); echo '<span class="text">Page generated in '.$total_time.' seconds.</span><br />'; ?> </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)
5.4.290.3430.03019.13
5.4.280.3700.03719.24
5.4.270.3170.03718.98
5.4.260.3000.04319.21
5.4.250.3630.04018.99
5.4.240.3230.03719.23
5.4.230.4000.03718.99
5.4.220.3500.04019.18
5.4.210.3330.04319.06
5.4.200.3600.03019.18
5.4.190.3870.02718.86
5.4.180.3630.04019.05
5.4.170.2370.04018.98
5.4.160.3230.04019.06
5.4.150.3470.04019.08
5.4.140.3530.03716.44
5.4.130.2970.04016.37
5.4.120.3700.03316.38
5.4.110.3370.03716.54
5.4.100.3670.04016.54
5.4.90.2630.03716.26
5.4.80.3770.03316.52
5.4.70.3600.03716.50
5.4.60.3400.03316.43
5.4.50.2870.03016.27
5.4.40.3830.04316.38
5.4.30.2870.03716.53
5.4.20.2600.03016.42
5.4.10.3630.03316.25
5.4.00.3630.04015.73
5.3.280.3430.03314.69
5.3.270.3300.04314.45
5.3.260.3770.04314.49
5.3.250.2970.03314.55
5.3.240.3470.04314.65
5.3.230.3900.04014.51
5.3.220.1270.05014.41
5.3.210.3000.04314.66
5.3.200.3430.03714.66
5.3.190.3330.03714.41
5.3.180.3000.04014.41
5.3.170.3530.03314.45
5.3.160.4030.03714.42
5.3.150.3300.04714.52
5.3.140.3400.04014.50
5.3.130.2630.04314.39
5.3.120.3730.03714.45
5.3.110.3730.04014.41
5.3.100.3130.03313.89
5.3.90.3630.04014.00
5.3.80.3330.03313.93
5.3.70.3600.03313.97
5.3.60.3330.03313.80
5.3.50.3330.03313.91
5.3.40.3600.03713.83
5.3.30.3670.03713.71
5.3.20.3630.03713.63
5.3.10.2430.04013.46
5.3.00.3370.02713.59

preferences:
144.24 ms | 1394 KiB | 7 Q