3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $color="red"; echo "My car is " . $color . "<br>"; echo "My house is " . $COLOR . "<br>"; echo "My boat is " . $coLOR . "<br>"; ?>
Output for 5.0.4 - 7.2.0
My car is red<br> Notice: Undefined variable: COLOR in /in/ZUnNi on line 4 My house is <br> Notice: Undefined variable: coLOR in /in/ZUnNi on line 5 My boat is <br>
Output for 4.3.0 - 5.0.3
My car is red<br> Notice: Undefined variable: COLOR in /in/ZUnNi on line 4 My house is <br> Notice: Undefined variable: coLOR in /in/ZUnNi on line 5 My boat is <br>