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