Return to bug60227_4.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / general_functions |
1.1 misho 1: --TEST-- 2: Bug #60227 (header() cannot detect the multi-line header with CR), CRLF 3: --FILE-- 4: <?php 5: header("X-foo: e\r\n foo"); 6: header("X-foo: e\r\nfoo"); 7: echo 'foo'; 8: ?> 9: --EXPECTF-- 10: Warning: Header may not contain more than a single header, new line detected in %s on line %d 11: foo 12: --EXPECTHEADERS-- 13: X-foo: e 14: foo