3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.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 hhvm-3.12.0
My car is red<br> Notice: Undefined variable: COLOR in /in/ZUnNi on line -1 My house is <br> Notice: Undefined variable: coLOR in /in/ZUnNi on line -1 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>