3v4l.org

run code in 300+ PHP versions simultaneously
<?php mysql_connect("localhost", "io1a_127315", "127315"); mysql_select_db ("io1a_127315"); $result = mysql_query("SELECT * FROM Producten WHERE id = $_GET['id']"); echo $data["Naam"] . " "; echo ":"; echo $data["Platform"] . " "; } ?>

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.0.20.0330.07320.24
7.0.10.0070.04320.30
7.0.00.0070.06020.11
5.6.170.0200.04720.40
5.6.160.0200.07020.55
5.6.150.0130.07718.15
5.6.140.0070.08318.29
5.6.130.0030.04718.12
5.6.120.0130.03321.00
5.6.110.0100.06021.01
5.6.100.0100.04321.11
5.6.90.0070.06721.10
5.6.80.0100.08020.41
5.5.310.0230.05320.39
5.5.300.0030.04017.94
5.5.290.0030.08717.91
5.5.280.0070.06720.98
5.5.270.0030.07020.96
5.5.260.0100.08320.97
5.5.250.0070.07720.61
5.5.240.0230.08020.28

preferences:
140.99 ms | 1398 KiB | 7 Q