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

International PHP Magazine: IPM Poll Question: Which Is the Best Way to Do PHP Web Testing?

Brian Moon's Blog: PHP 5.3 and mysqlnd - Unexpected results

PHPBuilder.com: Building an Error-Handling Mechanism

Justin\'s Blog: Debugging Php

PHP.net: 5.2.9-1 (for Windows) released


Community Events





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


artisanfiles series list community opinion release interview language version library voicesoftheelephpant laravel tool introduction composer framework security conference symfony podcast

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