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