mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 06:47:01 +02:00
Replaced most each() calls with foreach() in preparation to support php 8
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -255,7 +255,8 @@ class Piler_Mime_Decode {
|
||||
|
||||
}
|
||||
|
||||
while(list($k, $v) = each($result)) {
|
||||
foreach($result as $k => $v) {
|
||||
|
||||
if(strchr($v, "\n")) {
|
||||
$result[$k] = explode("\n", $v);
|
||||
}
|
||||
|
Reference in New Issue
Block a user