<?php

xdebug_start_code_coverage();

if (true) {
    if (true) {
        $a = 0;
    } else {
        $b = 1;
    }
} else {
    $c = 2;
}

var_dump(xdebug_get_code_coverage());