3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<html> <body> <?php $color="red"; echo "My car is " . $color . "<br>"; echo "My house is " . $COLOR . "<br>"; echo "My boat is " . $coLOR . "<br>"; ?> </body> </html>
Output for 5.0.4 - 7.1.0
<html> <body> My car is red<br> Notice: Undefined variable: COLOR in /in/KT2Y8 on line 7 My house is <br> Notice: Undefined variable: coLOR in /in/KT2Y8 on line 8 My boat is <br> </body> </html>
Output for 4.3.0 - 5.0.3
<html> <body> My car is red<br> Notice: Undefined variable: COLOR in /in/KT2Y8 on line 7 My house is <br> Notice: Undefined variable: coLOR in /in/KT2Y8 on line 8 My boat is <br> </body> </html>