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

McCain kicks off final drive for presidency

The spotlight shifts from GOP vice presidential nominee Sarah Palin to the top of the ticket, John McCain, Thursday at the Republican National Conveniton in St. Paul.The Republican presidential candidate began his final drive for the White House Thursday with a boost from running mate Sarah Palin and her nomination acceptance speech Wednesday night.


UK report says ice caused hard landing at Heathrow (AP) AP - Ice in fuel lines probably caused a British Airways jet to lose power and make a jarring emergency landing in London in January, investigators said Thursday.

Sony recalls laptops for possible overheating (AP) AP - Sony Corp. is recalling 440,000 Vaio laptop computers worldwide because of a wiring flaw that could cause overheating.


Find this article in Google