Does repl support php in html?
CogantProductio (1)

I know repl supports php in general but from what I can tell repl doesn't seem to support the use of php in their "web project" language. I've tried inside html via <?php?> and just making a separate file. Does repl support php in html and if not why?

You are viewing a single comment. View All
timmy_i_chen (962)

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.

Enjoy!