3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<head> <title> echo $var </title> </head> <body> <?php $var = Hello; echo "I'm here to learn PHP. </br> So I'll try my best." ?> </body>
Output for 7.2.0
<head> <title> echo $var </title> </head> <body> Warning: Use of undefined constant Hello - assumed 'Hello' (this will throw an Error in a future version of PHP) in /in/Nk6Mc on line 6 I'm here to learn PHP. </br> So I'll try my best. </body>
Output for 4.3.0 - 7.1.10
<head> <title> echo $var </title> </head> <body> Notice: Use of undefined constant Hello - assumed 'Hello' in /in/Nk6Mc on line 6 I'm here to learn PHP. </br> So I'll try my best. </body>