Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
But, I have some PHP files which are decently readable.
However, I was wondering if there is some kind of editor available that will automatically format the code neatly adding spaces/tabs etc. to make it more readable and indented.
If i had to guess, I would say no b/c the editor would have to be able to format HTML as well, since PHP is often embedded within HTML code - moreover, something like this (see below) may be difficult to figure out for the formatter - or the programmer creating the editor.
<? ($i!= '') echo "<th>" : echo "<td>"?>
<? ($i!= '') echo "</th>" : echo "</td>"?>
Again, this is just a guess.