3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Page avec Iframes</title> </head> <?php $clients = array( "client 1" => array("nom 1" => "Dulong", "ville 1" => "Paris", "age 1" => "35"), "client 2" => array("nom 2" => "Leparc", "ville 2" => "Lyon", "age 2" => "47"), "client 3" => array("nom 3" => "Dubos", "ville 3" => "Tours", "age 3" => "58") ); echo "<table border=’1’ width=\"100% \"> \n <tr> <th> Client </th> <th> Nom </th> <th> Ville </th> <th> Age </th> </tr>\n"; foreach ($clients as $cle => $tab) { echo "<tr><td><b>$cle</b></td>\n"; foreach ($tab as $key => $val) echo "<td> $key : <b>$val</b> </td>\n"; echo "</tr>\n"; } echo "</table>"; ?> <body> </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.5.30.0100.00719.22
8.5.20.0130.00719.85
8.5.10.0350.00616.39
8.5.00.0240.00716.55
8.4.180.0130.00819.61
8.4.170.0170.00719.63
8.4.160.0360.00820.33
8.4.150.0350.01119.61
8.4.140.0390.00717.48
8.4.130.0380.01117.48
8.4.120.0400.01317.55
8.4.110.0460.00817.42
8.4.100.0350.01117.79
8.4.90.0360.01017.76
8.4.80.0340.01217.60
8.4.70.0340.01117.63
8.4.60.0390.00717.90
8.4.50.0380.00817.75
8.4.40.0380.01117.40
8.4.30.0380.00917.54
8.4.20.0380.00917.50
8.4.10.0320.01517.58
8.3.300.0160.00420.16
8.3.290.0340.00918.23
8.3.280.0340.00818.33
8.3.270.0400.00616.54
8.3.260.0380.00716.30
8.3.250.0330.01216.55
8.3.240.0360.00916.75
8.3.230.0370.00916.55
8.3.220.0350.00816.75
8.3.210.0330.01116.49
8.3.200.0350.00916.61
8.3.190.0330.01016.64
8.3.180.0350.00816.55
8.3.170.0460.01116.36
8.3.160.0440.00916.58
8.3.150.0370.00916.05
8.3.140.0400.01116.72
8.3.130.0450.00516.47
8.3.120.0340.00816.73
8.3.110.0360.00816.35
8.3.100.0380.00716.45
8.3.90.0360.01016.36
8.3.80.0380.00816.63
8.3.70.0380.00816.64
8.3.60.0370.00816.51
8.3.50.0370.00916.51
8.3.40.0370.00617.80
8.3.30.0260.00917.84
8.3.20.0240.01117.77
8.3.10.0270.00917.91
8.3.00.0290.00817.89

preferences:
37.55 ms | 475 KiB | 5 Q