Archive for the ‘errors’ Category

How to Read Big Files with PHP (Without Killing Your Server)

Posted on: No Comments
It’s not often that we, as PHP developers, need to worry about memory management. The PHP engine does a stellar job of cleaning up after us, and the web server model of short-lived execution contexts means even the sloppiest code has no long-lasting ...

More Tips for Defensive Programming in PHP

Posted on: No Comments
The general definition of defensive programming (as seen in Part 1, an overview piece on Defensive Programming in PHP) being used here is thus: Defensive programming, simply put, is programming with the intent to anticipate likely failure points. The ...

Introducing Bugsnag – the Last Error Monitor You’ll Need

Posted on: No Comments
The pursuit of building an error-free application continues. But in the meanwhile, we need to monitor our application’s errors and take action quickly. Many companies have tried to solve this problem, and one of the best on the market right now is Bu...