1,//foreach { 4 => 1,//if ($item == 'c') { 7 => 1,//if ($item == 'd') { 10 => 1,//} endforeach 11 => 1,//$cc = xdebug_get_code_coverage()[__FILE__]; ]; assert($cc == $expected, print_r($cc, true) . ' is not equal to ' . print_r($expected, true));