3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const HELP = <<<EOT ____ __________ ___ ___ / __ `/ ___/ __ `__ \/ _ \ / /_/ / /__/ / / / / / __/ \__,_/\___/_/ /_/ /_/\___/ Usage: bin/acme command --args Available Commands: $help Get more help by appending --help to specific commands. EOT;
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected end of file in /in/qov2C on line 18
Process exited with code 255.
Output for 5.4.11 - 5.6.16
Parse error: syntax error, unexpected '$help' (T_VARIABLE), expecting heredoc end (T_END_HEREDOC) in /in/qov2C on line 13
Process exited with code 255.
Output for 5.3.21 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE, expecting T_END_HEREDOC in /in/qov2C on line 13
Process exited with code 255.