Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.

If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping

Answers may be delayed for posts that do not include sufficient information.

Missing PHP closing "?>" in some files?

I've noticed that some files are missing the closing "?>" at the end of the PHP code.
For example: app/version.php

Is that on purpose?


  • edited November 4

    According to

    If a file contains only PHP code, it is preferable to omit the PHP closing tag at the end of the file. This prevents accidental whitespace or new lines being added after the PHP closing tag, which may cause unwanted effects because PHP will start output buffering when there is no intention from the programmer to send any output at that point in the script.

    so i believe that its on purpose.

  • @VaclavCerny:
    Wow! Didn't know that. Thanks for the info!
    Feels weird not to close an open tag, but if the devs say so, then it's true. :smile:

Sign In or Register to comment.