run code in 200+ php & hhvm versions
Bugs & Features
<?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> ?>
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '<' in /in/7NDEY on line 3
Process exited with code 255.