How can proper indentation and code structure improve the readability and maintainability of PHP code?

Proper indentation and code structure help improve the readability and maintainability of PHP code by making it easier for developers to understand the logic flow and organization of the code. Consistent indentation also helps to visually separate different code blocks and elements, making it easier to identify and fix errors. By following a standardized structure, it becomes simpler for multiple developers to collaborate on the same codebase.

<?php

// Example of properly structured and indented PHP code
function calculateSum($a, $b) {
    $sum = $a + $b;
    return $sum;
}

$result = calculateSum(5, 10);
echo "The sum is: " . $result;

?>