E_ALLequals 8191 (0001 1111 1111 1111)E_STRICTequals 2048 (0000 1000 0000 0000)
Using bitwise OR to combine them:
1 1111 1111 1111
1000 0000 0000
We get the exact same value as the original E_ALL:
1 1111 1111 1111
What’s the point of doing error_reporting(E_ALL | E_STRICT) if we can simply do error_reporting(E_ALL) to get the same thing?
You want:
E_ALLdoes not includeE_STRICT(unless you are using PHP 5.4+). Your values are incorrect. From Predefined ConstantsE_ALLis defined as: