Reputation: 108
If you are creating custom module in drupal no need to end php tag in .module and .install files in drupal.what is the reason we are not closing php tags!
Upvotes: 1
Views: 414
Reputation: 504
From drupal.org/coding-standards:
Note that as of Drupal 4.7, the ?> at the end of code files is purposely omitted. This includes for module and include files. The reasons for this can be summarized as:
Upvotes: 7