News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Using Conditional Statements with the Xdebug Extension
March 04, 2009 @ 12:08:43

DevShed continues their series looking at the XDebug extension for PHP with this fifth part looking a bit more at the code coverage functions it comes with.

In this fifth part of a series on using the Xdebug extension to help debug your PHP programs, we'll take a closer look at the xdebug_start_code_coverage() and xdebug_get_code_coverage() functions. Specifically, we'll see how we can extend their usage when working with conditional statements. As always, we'll complement theory with a number of hands-on examples.

They start with a review of the previous tutorial (that started the look at code coverage) and continue on to show how to extend a code coverage class to debug some conditionals and return the results in a simple echoed output.

0 comments voice your opinion now!
conditional statement xdebug tutorial coverage


blog comments powered by Disqus

Similar Posts

Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD

DevShed: Creating AJAX Requester Objects with Abstract Factory Classes in PHP 5

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1

Lorna Mitchell's Blog: PHP 5.4 Built In Webserver


Community Events





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


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

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