3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Fname = $_POST["Fname"]; $Lname = $_POST["Lname"]; $gender = $_POST["gender"]; $food = $_POST["food"]; $quote = $_POST["quote"]; $education = $_POST["education"]; $TofD = $_POST["TofD"]; if(isset($_POST['submit'])) { $name = $_POST['name']; echo "User Has submitted the form and entered this name : <b> $name </b>"; echo "<br>You can use the following form again to enter a new name."; } else { echo 'Hello, '.$Fname.' '.$Lname'<br />'; echo 'You are '.$gender.', and you like '; foreach ($food as $f) { echo $f'<br />'; } echo '<i>'$quote'</i><br />'; echo 'Youre favorite time is '.$TofD.', and you passed '.$education'!<br />'; } ?>

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.140.0100.04016.58
5.4.130.0030.04316.46
5.4.120.0130.06316.43
5.4.110.0070.07316.23
5.4.100.0100.07316.41
5.4.90.0200.05716.35
5.4.80.0100.05316.54
5.4.70.0070.04316.34
5.4.60.0000.07716.41
5.4.50.0130.06316.56
5.4.40.0030.04716.41
5.4.30.0230.02716.40
5.4.20.0070.07016.42
5.4.10.0070.05716.43
5.4.00.0100.07015.68
5.3.240.0070.04014.58
5.3.230.0030.04014.58
5.3.220.0130.05314.54
5.3.210.0030.07314.57
5.3.200.0000.08014.40
5.3.190.0070.07714.54
5.3.180.0030.08014.49
5.3.170.0070.07714.51
5.3.160.0070.07314.56
5.3.150.0170.03714.53
5.3.140.0070.06014.53
5.3.130.0070.07014.52
5.3.120.0100.06014.49
5.3.110.0100.07314.51
5.3.100.0030.04014.02
5.3.90.0030.07713.99
5.3.80.0200.05013.96
5.3.70.0000.06713.88
5.3.60.0030.05313.96
5.3.50.0030.07313.90
5.3.40.0070.07313.86
5.3.30.0070.04713.88
5.3.20.0070.07013.55
5.3.10.0070.07713.63
5.3.00.0130.06313.61

preferences:
134.33 ms | 1394 KiB | 7 Q