Why my PHP code downloads instead of executing?
We fixed this! :)
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.
https://repl.it/languages/php7 - PHP Web servers! Just like other hosted repls, this allows you to write websites using PHP.