Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-135

Remove closing php tags in all files

    XMLWordPrintable

    Details

      Description

      PHP documentation says, that closing php tag ("?>") is not required for files, that contains only php code. Additionally not placing closing php tag [b]at the end[/b] of php files prevent user's from accidentally adding new lines after it resulting in inability to properly send headers (like cookies, redirects etc.) during script work.

        Attachments

          Activity

            People

            • Assignee:
              dmitry Dmitry Andrejev [Intechnic]
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: