This is what I get when trying to write php code:
The "X" says that the "<" is unexpected.
Isn't "<?php" and "?>" used when writing PHP code?
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.
Agree with Tim Chen. That's what I came here looking for.
Can you please add PHP to HTML web repls so I can code a multiple-page PHP/HTML website?
Which language are you using? Can you give me a link to your repl?
@Amjad Masad: With further investigation, I have found that no php whatsoever (included in the html repl) works. I have tested the AJAX PHP file from w3schools: https://www.w3schools.com/xml/ajax_php.asp
but It still doesn't work: https://repl.it/@Vandesm14/IncredibleEcstaticSyntax
@Amjad Masad: I am using HTML: https://repl.it/@Vandesm14/Hyperjs-Chat
@Vandesm14: we dont currently support php but it's coming. Look out for an announcement in the next couple of weeks
Oh, and the filename is "test.php" so it's definatley PHP!