these two statements:
    $old = errorreport(E_ALL ^ E_NOTICE ^ E_STRICT);
    $old = errorreport(E_ALL & ~E_NOTICE & ~E_STRICT); 
Seem to do the same thing. What is the meaning of "^", "~" ? I cant find a reference for these symbols.
these two statements:
    $old = errorreport(E_ALL ^ E_NOTICE ^ E_STRICT);
    $old = errorreport(E_ALL & ~E_NOTICE & ~E_STRICT); 
Seem to do the same thing. What is the meaning of "^", "~" ? I cant find a reference for these symbols.
 
    
    ~ means "except" DOCS
In your second example that would mean E_ALL except E_NOTICE and E_STRICT
The ^ is a "flipper":
^ is the xor (bit flipping) operator and would actually turn notices on if they were previously off (in the error level on its left).
 
    
    Those are bitwise operators. At this page you could have some examples of using them to make error reporting settings.
