show all errors except notice and strict in php

Viewed 3177

i want to log all php errors except notice and strict i tried the following code

error_reporting(E_ALL &^ E_NOTICE &^ E_STRICT);

but it gave me an error "unexpected ^"

2 Answers
Related