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?
No. PHP is an old language that shouldn't be used anywhere.