3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP' ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?php $var ?></title> </head> <body> <h3><?php $var ?></h3> <form action="" method="post"> <h1>PLease input your name</h1> <input type="text" name="name"> <input type="submit" value="envoyer formulaire"> <?php $name = $_POST['name']; ?> <p>HELLO <?php $name ?>!</p> </form> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> </head> <body> <h3></h3> <form action="" method="post"> <h1>PLease input your name</h1> <input type="text" name="name"> <input type="submit" value="envoyer formulaire"> Warning: Undefined array key "name" in /in/M5chc on line 14 <p>HELLO !</p> </form> </body> </html>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
41.63 ms | 401 KiB | 8 Q