News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jamie Wong's Blog:
Effective bugfixing techniques for PHP
December 06, 2006 @ 13:46:56

In his travels as a PHP developer, Jamie Wong has gathered some helpful debugging tips that are shared in this latest post to his blog.

Here are some bugfixing rules and tips I've learned working all these years with PHP. I emphasize mostly on fixing bugs than preventing them, which is another subject worth of its own article. I've moved to Rails, but I wanted to finish this post as a farewell and thanks to every article and documentation that was useful to me. Hope this is useful to you too.

Topics covered include:

  • Assume nothing
  • Turn Error Reporting to show all errors
  • Read the error message
  • Understand the bug
  • "Scooby-Bug, where are you?"
  • Get as much information as possible
Each has some explanation below it and, in some places, a bit of code to clarify the point.

1 comment voice your opinion now!
bug fix technique effective assume error reporting log information bug fix technique effective assume error reporting log information


blog comments powered by Disqus

Similar Posts

The Bakery: Checking for duplicate records (unique record)

Stefan Esser's Blog: PHP 4 - Reference Counter Overflow Fix

Lorna Mitchell's Blog: Handling SQL Errors in PDO

Symfony Blog: Symfony2 Security Audit

PHPClasses.org: Lately in PHP Ep. 6 - Unusual Site Speedup Techniques, Named params & Annotations


Community Events





Don't see your event here?
Let us know!


tips library zendserver symfony framework deployment api language series opinion podcast release community package list laravel introduction install update interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework