PHP embedded in HTML in Eclipse


Good Morning:

I'm starting to use Eclipse Ide (Mars) because it already supports PHP 7 while NetBeans doesn't.

I am facing a problem which is PHP not formatting (highlitgh syntax) when embedded in HTML code.

In this case, I have an index.php file with HTML code and the BODY has PHP code that Eclipse is not formatting or highlighting syntax in it (only in PHP code).

Does anyone know how to fix this, I googled it and found nothing about it.


I didn't find an answer to the Eclipse problem, but I found the solution for NetBeans: just install the development version that already supports PHP7.

I was trying to use Eclipse because NetBeans was not supported. With support in the development version of NB, I left out the eclipse.

Scroll to Top