Quote:
However, as already said, you could just use a prettyprinter to transform Code #1.
|
What's a prettyprinter?
Quote:
The point being that X's standards may not be Y's standards may not be Z's standards. If a hack doesn't pose a security risk, let style be as it may. If a hack does pose a security risk, see this.
|
I have coded a few automated CMS systems, and according to my experience it is much easier to pinpoint security issues in well-formed code, because when you make a poorly formed code, you can hardly understand it yourself. Unless it is a code that performs an addition of 2 and 2 and outputs it if $_GET['do_add'] is set...
Quote:
better notify symantec about the curley brace virus!
|
Good idea except the fact that Symantec does not make anti-viruses for Linux...
Quote:
Yep, it does, but if error reporting is E_ALL only...
|
If it is not E_ALL, there is still an error, it's just not echoed...