3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>W3resource!</title> </head> <body> <h1>Please input your name</h1> <input type="text" name="nome" method="post"> <?php $nome = $_POST["nome"]; ?> <p><?php $nome ?></p> </body> </html>
Output for 5.3.0 - 7.2.0
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>W3resource!</title> </head> <body> <h1>Please input your name</h1> <input type="text" name="nome" method="post"> Notice: Undefined index: nome in /in/mHnXZ on line 11 <p></p> </body> </html>
Output for 4.3.0 - 5.2.17
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>W3resource!</title> </head> <body> <h1>Please input your name</h1> <input type="text" name="nome" method="post"> Notice: Undefined index: nome in /in/mHnXZ on line 11 <p></p> </body> </html>