Due to a typo in commit
e1151c9[1], succeeding XFAIL test without an
EXPECTF or EXPECTREGEX section have been reported reported as passed
instead of warned.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=
e1151c9549cf5a7235c1609019f79bbb1bbcdbea>
if (isset($section_text['XFAIL'])) {
$warn = true;
$info = " (warn: XFAIL section but test passes)";
- } if (isset($section_text['XLEAK'])) {
+ } elseif (isset($section_text['XLEAK'])) {
$warn = true;
$info = " (warn: XLEAK section but test passes)";
} else {