What improvements can be made to the provided PHP code snippets to enhance readability, maintainability, and performance?

Issue: The provided PHP code snippet lacks proper indentation and comments, making it difficult to read and understand. To enhance readability and maintainability, it is important to format the code properly and add comments to explain the functionality of each section. Improvement:

<?php

// Calculate the sum of two numbers
function calculateSum($num1, $num2) {
    $sum = $num1 + $num2;
    return $sum;
}

// Display the sum of two numbers
$num1 = 10;
$num2 = 20;
$sum = calculateSum($num1, $num2);
echo "The sum of $num1 and $num2 is: $sum";

?>