3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $myVar; $myVar = 'Hello World, this is using a variable'; echo $myVar; $myVar = 'Goodbye World'; echo $myVar;
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Hello World, this is using a variableGoodbye World
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined variable: myVar in /in/JfBt8 on line 2 Hello World, this is using a variableGoodbye World