PHP 8.0에서 변경된 implode() 매개변수 순서 수정

This commit is contained in:
kit rio committed 2022-05-24 17:10:17 +09:00
1 parent 66d9ae44da
commit d3d7b9aadc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -535,7 +535,7 @@ class PHPExcel_Reader_OOCalc extends PHPExcel_Reader_Abstract implements PHPExce
array_push($dataArray, $pData);
}
}
$allCellDataText = implode($dataArray, "\n");
$allCellDataText = implode("\n", $dataArray);
// echo 'Value Type is '.$cellDataOfficeAttributes['value-type'].'<br />';
switch ($cellDataOfficeAttributes['value-type']) {
@@ -1057,7 +1057,7 @@ class UploadHandler
}
if (count($failed_versions)) {
$file->error = $this->get_error_message('image_resize')
.' ('.implode($failed_versions,', ').')';
.' ('.implode(', ', $failed_versions).')';
}
// Free memory:
$this->destroy_image_object($file_path);