.php Code Error


#1

Hello! I just started learning PHP, and on my website I created a /test.php file with the following code inside of it. But then I got the error Special characters must be escaped : [ < ]. and Special characters must be escaped : [ > ]. I’m assuming this is an error with Glitch because I double-checked to make sure there wasn’t a typo in the code.

<? php
  echo "Hi there!";  
?>

Is it possible to fix, and if so, how do I?


#2

Unfortunately, Glitch doesn’t support PHP right now. The only language that they officially support is JavaScript , although Python and Ruby can also be used.


#3

But if you’re just trying things out, you might want to play around with these experimental PHP projects: https://glitch.com/edit/#!/lamp-poc or https://glitch.com/edit/#!/php-poc


#4

Ah, OK. Thanks @j-f. Will PHP ever be supported on Glitch @Gareth?


#5

We have a small team, so it’s just Node.js for now. But we hope to add others in the future.