echo "Test\n";
$header = "wass\nup";
-/* this generates two warnings because of the LF ;) */
http\Header::parse($header);
?>
--EXPECTF--
Test
-Warning: http\Header::parse(): Could not parse headers in %s on line %d
-
-Warning: http\Header::parse(): Could not parse headers in %s on line %d
+Warning: http\Header::parse(): Failed to parse headers: unexpected end of line at pos 4 of 'wass\nup' in %s on line %d
Done