Example:
set_error_handler(array($this, 'handleError'), E_ALL & ~E_STRICT & ~E_WARNING & ~E_NOTICE);
what does that suppose to mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is the bitwise not operator (also called “complement”). That is the bits set in
~ $aare those that are not set in$a.So then
is the bits set in
E_ALLand those not set inE_STRICT,E_WARNINGandE_NOTICE. This basically says all errors except strict, warning and notice errors.