You should write legible code anyway soit's easier for you to read and edit.

I'm sure Jan could probably implement
THIS ONE (viz http://www.waterproof.fr/products/phpCodeBeautifier/ ) but
most PHP scripters I know (me included) make sure their code is legible as they
write it. The other problem with this type of program is that everyone has a
different opinion on how PHP should be written. For a simple IF statment with a
single function there are three different methods.

1:
if ($a == $a){
   DoThis();
}

2:
if ($a == $a)
{
   DoThis();
}

3:
if ($a == $a)
   DoThis();


But I'm sure Jan could implement it just as he has the HTML Tidy program.

-- 
Carbonize

<http://forum.pspad.com/read.php?2,33133,33135>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem