3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <?php $nume = isset($_POST["nume"]) ? $_POST["nume"] : ""; $prenume = isset($_POST["prenume"]) ? $_POST["prenume"] : ""; $varsta = isset($_POST["varsta"]) ? $_POST["varsta"] : ""; echo "<br>Nume ".$nume; echo "<br>Prenume ".$prenume; echo "<br>Varsta ".$varsta; ?> <form action="#" method="post"> <table> <tr> <td> Nume: </td> <td> <input type="text" name="nume" size="10"/> </td> </tr> <tr> <td> Prenume: </td> <td> <input type="text" name="prenume" size="10"/></td> </tr> <tr> <td> Varsta: </td> <td> <input type="text" name="varsta" size="10"/> </td> </tr> <tr> <td colspan="2"> <input type="submit" value="gigi"/> </td> </tr> </table> </form> </body> </html>
Output for 4.3.0 - 7.1.0
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <br>Nume <br>Prenume <br>Varsta <form action="#" method="post"> <table> <tr> <td> Nume: </td> <td> <input type="text" name="nume" size="10"/> </td> </tr> <tr> <td> Prenume: </td> <td> <input type="text" name="prenume" size="10"/></td> </tr> <tr> <td> Varsta: </td> <td> <input type="text" name="varsta" size="10"/> </td> </tr> <tr> <td colspan="2"> <input type="submit" value="gigi"/> </td> </tr> </table> </form> </body> </html>