1--TEST--
2Bug #60227 (header() cannot detect the multi-line header with CR), \r before \n
3--INI--
4expose_php=0
5default_charset=UTF-8
6--FILE--
7<?php
8header("X-foo: e\n foo");
9echo 'foo';
10?>
11--EXPECTF--
12Warning: Header may not contain more than a single header, new line detected in %s on line %d
13foo
14--EXPECTHEADERS--
15Content-type: text/html; charset=UTF-8
16