|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-05 13:05 UTC] tony2001@php.net
[2006-01-05 13:10 UTC] eugen at id dot com dot ua
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 07 15:00:01 2025 UTC |
Description: ------------ If headers contain leading newline, iconv_mime_decode_headers return empty array instead of parsed headers array Reproduce code: --------------- $headers = ' Subject: Test From: myself@dot.com '; print_r(iconv_mime_decode_headers($headers)); /* Note, that $headers string start with newline*/ Expected result: ---------------- Array ( [Subject] => Test [From] => myself@dot.com ) Actual result: -------------- Array ( )