-
Showing all errors and warnings
Sometimes, when you write PHP code, you may need to see every single error, warning or even notice. And this is a very good practice in your development environment. If you can write your code and after all tests there are not a single notice, you may think your code is ready. Of course it doesn’t mean it is good, it’s different thing. But suppressing (by handling, not by @!) all errors, warnings and notices are a very good first step. How to make PHP show all errors and warnings? It’s very easy: [crayon-675b535262a68897837402/] And that’s all. Oh no, one more thing. Do not enable this on production server! Every…