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

PHP.net: PHP 5.2.2 and PHP 4.4.7 Released

Stefan Mischook's Blog: Does Wordpress 2.5.1 suck?

Sebastian Bergmann's Blog: Testing Code That Uses Singletons

Justin\'s Blog: Debugging Php

SitePoint PHP Blog: Pimpin Harry’s pretty bluescreen


Community Events





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


bugfix application symfony interview release developer list community language configure laravel library threedevsandamaybe code introduction wordpress podcast api series install

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