3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'Defining a variable:'; $variable_name = 'this is a string representation of a variable'\n; echo $variable_name; echo 'this is an integer representation of a variable'\n; echo $variable_name = 30; ?>
Output for 5.4.0 - 5.4.23
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR) in /in/foFQs on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_NS_SEPARATOR in /in/foFQs on line 3
Process exited with code 255.