summaryrefslogtreecommitdiff
path: root/ext/iconv/tests/iconv_mime_encode.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/iconv/tests/iconv_mime_encode.phpt')
-rw-r--r--ext/iconv/tests/iconv_mime_encode.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/tests/iconv_mime_encode.phpt b/ext/iconv/tests/iconv_mime_encode.phpt
index f002ec75f..fd6cc6909 100644
--- a/ext/iconv/tests/iconv_mime_encode.phpt
+++ b/ext/iconv/tests/iconv_mime_encode.phpt
@@ -23,7 +23,7 @@ for ($line_len= 0; $line_len < 80; ++$line_len) {
$result = iconv_mime_encode("From", "サンプル文字列サンプル文字列日本語テキスト", $preference);
var_dump($result);
if ($result !== false) {
- list($max) = rsort(array_map("strlen", explode("\n", $result)));
+ $max = max(array_map("strlen", explode("\n", $result)));
print "-------- ";
var_dump(($max <= $line_len));
} else {