3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <form method="GET" action"main.php"> <input type="text" name="zeilen"> <input type="submit" value="Send"> </form> <?php if(isset($_GET["zeilen"])) { ?> <table border="1"> <?php for($i = 0;$i < $_GET["zeilen"];$i++) { echo"<tr><td>".$i."</td></tr>"; } ?> </table> <?php } ?> </form> </body> </html>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<html> <head> <title>Online PHP Script Execution</title> </head> <body> <form method="GET" action"main.php"> <input type="text" name="zeilen"> <input type="submit" value="Send"> </form> </form> </body> </html>