<slide>
<title>Xdebug branch coverage</title>

<example>
<![CDATA[
<?php
include 'dump-branch-coverage.inc';
include 'test.php';

xdebug_start_code_coverage(
	XDEBUG_CC_UNUSED | 
	XDEBUG_CC_DEAD_CODE | 
	XDEBUG_CC_BRANCH_CHECK
);

ifthenelse( true, false ); 
ifthenelse( false, true ); 

xdebug_stop_code_coverage(false);

$c = xdebug_get_code_coverage();
dump_branch_coverage($c);
?>
]]>
</example>
</slide>
