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