3v4l.org

run code in 300+ PHP versions simultaneously
<?php html> <body> <?php //receive the data and assign them to variables $First=$_POST['firstname']; $Last=$_POST['lastname']; $tel=$_POST['tel']; $email=$_POST['email']; $product=$_POST['stationery']; $quantity=$_POST['quantity']; $total=$_POST['total']; //print out the values echo "your order details are as follows<br>"; echo "customer's first name:".$First."<br>"; echo "customer's Last name:".$Last."<br>"; echo "customer's Telephone :".$tel."<br>"; echo "customer's Email :".$email."<br>"; echo "product names:".$product."<br>"; echo "quantity ordered:".$quantity."<br>"; $price=40; $total=$quantity*$price; echo "The Total cost of your supply is:".$total."<br/>"; echo "<B> <i>Thank You!!!</i></B>";?> </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.0070.03912.49
5.4.280.0070.03812.39
5.4.270.0060.03812.39
5.4.260.0050.03912.39
5.4.250.0080.04112.39
5.4.240.0090.04112.39
5.4.230.0070.04112.38
5.4.220.0070.03912.38
5.4.210.0080.04212.38
5.4.200.0080.04512.38
5.4.190.0070.04512.38
5.4.180.0080.04312.38
5.4.170.0100.03912.38
5.4.160.0090.03612.38
5.4.150.0070.03812.38
5.4.140.0120.05812.07
5.4.130.0110.05512.05
5.4.120.0090.05112.02
5.4.110.0090.03812.01
5.4.100.0070.04212.01
5.4.90.0050.04312.01
5.4.80.0050.04212.01
5.4.70.0110.03412.01
5.4.60.0090.04712.01
5.4.50.0250.06212.00
5.4.40.0170.05111.99
5.4.30.0160.05111.99
5.4.20.0180.05311.99
5.4.10.0070.05411.99
5.4.00.0130.04611.49
5.3.280.0100.04912.71
5.3.270.0240.07512.72
5.3.260.0160.06012.72
5.3.250.0160.04812.72
5.3.240.0090.04612.72
5.3.230.0120.04512.71
5.3.220.0130.04612.68
5.3.210.0100.04812.68
5.3.200.0080.04912.68
5.3.190.0090.05112.68
5.3.180.0120.05712.67
5.3.170.0260.07612.67
5.3.160.0160.05412.68
5.3.150.0090.04912.68
5.3.140.0130.04912.66
5.3.130.0110.06712.66
5.3.120.0070.05512.66
5.3.110.0130.05412.66
5.3.100.0140.05412.12
5.3.90.0170.05312.08
5.3.80.0120.04512.08
5.3.70.0180.05312.08
5.3.60.0100.05112.06
5.3.50.0110.04912.00
5.3.40.0160.05912.00
5.3.30.0160.05411.95
5.3.20.0120.04611.72
5.3.10.0150.06711.70
5.3.00.0070.04711.68

preferences:
141.75 ms | 1394 KiB | 7 Q