In terms of PHP coding standards, what are the recommendations for indentation and formatting to enhance code clarity and maintainability?

Consistent indentation and formatting are crucial for enhancing code clarity and maintainability in PHP. It is recommended to use spaces for indentation (typically 4 spaces per level) instead of tabs, as tabs can display differently in various editors. Additionally, it's important to follow a consistent coding style guide, such as PSR-12, to ensure uniformity across the codebase.

<?php

// Incorrect indentation
function exampleFunction() {
    $variable = 5;
  if ($variable > 0) {
    echo 'Variable is positive';
  }
}

// Correct indentation
function exampleFunction() {
    $variable = 5;
    if ($variable > 0) {
        echo 'Variable is positive';
    }
}

?>