3v4l.org

run code in 300+ PHP versions simultaneously
<html> <head> </head> <body> <form method ="POST" action ="tag.php"> Fruit name : <input type ="text" name="fruit"/> <br> Price/KG<input type="text" name="price"/> <br> <input type="submit" value="submit the price" name="submit1"/> </form> <?php $fru =$_POST['fruit']; $cost =$_POST['price']; echo "the fruit is $fru and its price is $cost"; ?> </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.0320.00617.34
8.5.20.0320.01016.73
8.5.10.0380.00616.73
8.5.00.0360.00816.73
8.4.180.0160.00819.63
8.4.170.0320.01219.73
8.4.160.0330.01119.84
8.4.150.0340.01519.76
8.4.140.0330.01017.70
8.4.130.0300.01317.82
8.4.120.0410.00817.55
8.4.110.0410.00817.87
8.4.100.0390.00718.01
8.4.90.0430.00617.84
8.4.80.0360.01117.83
8.4.70.0380.00917.78
8.4.60.0370.01018.06
8.4.50.0380.00818.12
8.4.40.0420.00917.45
8.4.30.0400.01017.67
8.4.20.0410.00817.59
8.4.10.0430.01017.58
8.3.300.0350.01118.53
8.3.290.0310.01018.56
8.3.280.0160.00818.56
8.3.270.0360.00716.73
8.3.260.0360.00916.73
8.3.250.0360.00716.78
8.3.240.0320.01216.86
8.3.230.0390.01316.85
8.3.220.0410.00816.73
8.3.210.0370.01216.79
8.3.200.0410.00716.87
8.3.190.0360.00816.73
8.3.180.0360.01016.78
8.3.170.0360.01116.74
8.3.160.0430.01016.73
8.3.150.0390.01016.73
8.3.140.0410.00816.73
8.3.130.0330.01116.73
8.3.120.0310.01016.73
8.3.110.0310.01016.73
8.3.100.0420.00816.73
8.3.90.0400.00716.77
8.3.80.0440.00716.73
8.3.70.0390.01016.73
8.3.60.0440.00916.73
8.3.50.0390.00916.73
8.3.40.0420.01017.77
8.3.30.0250.01117.91
8.3.20.0330.00418.02
8.3.10.0280.00918.15
8.3.00.0290.01217.85

preferences:
36.29 ms | 403 KiB | 5 Q