News Feed
Sections
News Archive


Community Events






feed this:

Andreas Gohr's Blog:
Understanding PHP code better with Xdebug
0 comments :: posted Friday February 22, 2008 @ 09:14:00
voice your opinion now!

Andreas Gohr has a new blog post today that talks about a way to really get to know your code better - use XDebug to see it from the inside out.

Xdebug is a PHP extension which helps you to understand, debug and profile PHP. It can help you to find bottlenecks or give you an quick overview what happens in code you aren't familiar with, yet.

The post gives a brief overview of the installation of the extension (building a shared module) and shows how to get started with profiling an application. He talks about the cachegrind tool you can use to parse the results and the kcachegrind app that will make the results a bit more visual.

As a bonus, he also throws in a bit about function tracing - picking out each small bit of functionality in the code (the function/methods) and gathering stats for each.

tagged with: xdebug profile code tutorial install cachegrind kcachegrind profile trace


Internet Super Hero Blog:
Debugging ext/mysqli and mysqlnd
0 comments :: posted Monday September 03, 2007 @ 08:56:00
voice your opinion now!

With all of the good news they've posted about the mysqlnd driver, the developers behind the Internet Super Hero blog know that there will be bugs that come up in the driver. So, they've addressed the right way to find and deal with these issues in a new blog entry.

he bad news: mysqlnd might have bugs. How to report and debug these bugs - using mysqli_debug() - is subject of this posting.

They step you through the process for finding out what's causing the problems (internal versus external debugging) and how to make client traces with the mysqi extension to make it even easier for the developers to track down the problem. They also suggest a few things to send along with your bug report - like the PHP code calling it or the SQL you're using to select/update/insert/delete the data from your database.

tagged with: debugging mysqlnd mysqli external internal client trace debugging mysqlnd mysqli external internal client trace


cakephp book security conference application database package ajax mysql PEAR zendframework framework PHP5 developer pecl zend code release releases job

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