3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $capital = 67; print("Variable capital is $capital<br>"); print("Variable CaPiTaL is $CaPiTaL<br>"); ?>
Output for 5.0.4 - 7.2.0
Variable capital is 67<br> Notice: Undefined variable: CaPiTaL in /in/Llonh on line 4 Variable CaPiTaL is <br>
Output for 4.3.0 - 5.0.3
Variable capital is 67<br> Notice: Undefined variable: CaPiTaL in /in/Llonh on line 4 Variable CaPiTaL is <br>