I am learning PHP, and literally started this afternoon. In the tutorial I was watching it said you could put HTML tags in the PHP file, but this doesn't seem to work...
Is this a problem with my code or does repl not support it?
I get error
syntax error, unexpected '<', expecting end of file
The repl is here: https://repl.it/@ArchieMaclean/PHPtest
Solved: Repl doesn't support it
We made some updates to PHP (well, we made two new "languages"):
https://repl.it/languages/php_cli - New and improved PHP language for command line interface shenanigans. Supports multiple files and syntax highlighting.
https://repl.it/languages/php7 - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.