ZF-4521: Warning: Invalid argument supplied for foreach() in Zend/Mime/Decode.php

Issue Type: Bug Created: 2008-10-08T07:28:58.000+0000 Last Updated: 2011-08-03T15:51:10.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Robert Gruber (gruberro) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Mime

Related issues: Attachments:


When decoding a message-mime-header in Zend_Mime::splitMessage() into an array via the php-function iconv_mime_decode_headers()-function the return value is not evaluated. If the function returns false, the following foreach-loop causes a PHP-Warning.


Posted by old of Satoru Yoshida ( on 2008-10-08T09:06:49.000+0000

Solved in SVN r11741

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.