RSS DAILY NEWS TICKER EXAMPLE


home > overview

Andreas Gohr's Blog: Understanding PHP code better with Xdebug




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.




click here to see original article or to find similar articles

 RSS DAILY HEADLINES

HEADLINES

NBC: McCain picks Palin as running mate

Sarah Palin, mother of five, is Alaska's first female governor and the first woman to run on a Republican presidential ticket.Republican presidential candidate Sen. John McCain has chosen Gov. Sarah Palin to be his running mate.  She would be the first woman to serve on a Republican presidential ticket.


Nigerian ex-governor arrested over missing millions (AFP)

Nigerian President Umaru Yar'Adua's anti-corruption drive has claimed another scalp with news Friday of the arrest of an ex-governor who allegedly embezzled millions of dollars of state funds.(AFP/File/Rodger Bosch)AFP - Nigerian President Umaru Yar'Adua's anti-corruption drive has claimed another scalp with news Friday of the arrest of an ex-governor who allegedly embezzled millions of dollars of state funds.


NBA moving trucks arrive in Oklahoma City (AP)

Movers unload 10,000 pounds of office furniture, computers and miscellaneous equipment from Seattle after moving vans arrived at the new home of the NBA team   in downtown Oklahoma City, Okla. on Friday, Aug. 29, 2008. Three moving trucks arrived from Seattle  to unload at the NBA franchise's office headquarters.(AP Photo/Alonzo Adams)AP - The NBA officially handed over the Seattle franchise to Oklahoma City about two months ago, and three trucks arrived downtown at headquarters on Friday.



Find this article in Google