I've following lines of code in one of my project's configuration file :
error_reporting((PHPFOX_DEBUG ? E_ALL | E_STRICT : 0));
I'm not able to figure out what this line is doing actually?
I checked in PHP documentation by putting in E_STRICT in search box but it didn't find any matching results.
So can some one please explain me the meaning of above line as well as usage of E_ALL and E_STRICT? What are these entities constants or variables?
Thanks.
E_ALL | E_STRICT
will display all possible errors/warnings and suggestions to improve interoperability.
So this is set when you are debugging mode for the code. Otherwise they are handled silently,