Coding suggestion, opening/closing php tags
-
Hello,
as you can see here, the first screen shows a closing tag followed in the next line by an opening one, that configurations outputs a newline, that’s bad. Recomendation is to remove both:
As you can see here instead, there a closing php tag after the last block of php’code in a php file, the common recommentadion about that is to omit completely the closing php tag to avoid dangerous invisible elements output after it, such as tabs, newlines, spaces:
Thank you
The topic ‘Coding suggestion, opening/closing php tags’ is closed to new replies.