What are the best practices for handling error suppression in PHP using the @ symbol?

When using the @ symbol in PHP to suppress errors, it can make debugging more difficult as errors are hidden from view. It is generally considered a best practice to avoid using the @ symbol for error suppression whenever possible. Instead, it is recommended to handle errors using try-catch blocks or proper error handling techniques.

try {
    // Code that may throw an error
} catch (Exception $e) {
    // Handle the error here
}