update page now
Longhorn PHP 2026 - Call For Papers

Voting

: nine minus four?
(Example: nine)

The Note You're Voting On

David Spector
5 years ago
The PHP manual is not very clear about how to handle @ operator error messages.

Here is working code:

    // Do nothing if @ operator
    $errLevel=error_reporting(E_ALL);
    if ($errLevel===0)
        return true; // ignore @ prefixed expression errors

<< Back to user notes page

To Top