Is it considered best practice to use include statements in PHP to load different modules into a website's main content area?

It is considered best practice to use include statements in PHP to load different modules into a website's main content area because it helps in organizing code, promoting reusability, and improving maintainability. By breaking down the website into smaller, modular components, it becomes easier to manage and update specific sections without affecting the entire website.

<?php
include 'header.php'; // Include header module
include 'sidebar.php'; // Include sidebar module
include 'main_content.php'; // Include main content module
include 'footer.php'; // Include footer module
?>