I'm working in php.ini. I want to enable E_ALL and E_STRICT.
I assumed I would just do
error_reporting = E_ALL | E_STRICT
but that gives me numerical 8191, which according to this site is just E_ALL
So how DO I enable E_ALL and E_STRICT?
What version of PHP? In 5.2.x, E_ALL = 6143 and E_STRICT = 2048, so 8191 would be correct. See http://www.php.net/manual/en/errorfunc.constants.php for more info.
By golly you're right. I was trying something I thought would trigger a strict error but it wasn't actually "wrong" - never mind 🙂