Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The latest head release is missing the closing php tag.
Thanks.
The latest head release is missing the closing php tag.
Thanks.
Comments
Comment #1
alexanderpas CreditAttribution: alexanderpas commentedfrom: http://nl2.php.net/language.basic-syntax.instruction-separation
The closing tag of a PHP block at the end of a file is optional, and in some cases omitting it is helpful when using include() or require(), so unwanted whitespace will not occur at the end of files, and you will still be able to add headers to the response later. It is also handy if you use output buffering, and would not like to see added unwanted whitespace at the end of the parts generated by the included files.