3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title> Untitled Document </title> </head> <body> <input type="text" id="searchtext"/> <a href="www.yourtribute.in/searchresult.aspx?search=" <?php $_GET["searchtext"] ?></a> </body> </html>
Output for 5.3.0 - 7.1.0
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title> Untitled Document </title> </head> <body> <input type="text" id="searchtext"/> <a href="www.yourtribute.in/searchresult.aspx?search=" Notice: Undefined index: searchtext in /in/bS1TK on line 12 </a> </body> </html>
Output for 4.3.0 - 5.2.17
<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title> Untitled Document </title> </head> <body> <input type="text" id="searchtext"/> <a href="www.yourtribute.in/searchresult.aspx?search=" Notice: Undefined index: searchtext in /in/bS1TK on line 12 </a> </body> </html>