1--TEST--
2Bug #60227 (header() cannot detect the multi-line header with CR), \r before \n
3--FILE--
4<?php
5header("X-foo: e\n foo");
6header("X-Foo6: e\rSet-Cookie: ID=123\n d");
7echo 'foo';
8?>
9--EXPECTF--
10Warning: Header may not contain more than a single header, new line detected in %s on line %d
11foo
12--EXPECTHEADERS--
13X-foo: e
14foo
15