I am trying to set a multi-line comment with ZipArchive.Below is a simplified demo.
<?php
$comment = "File \t Stats
";
$comment .= "Second line ...some another text
";
$zip->setArchiveComment($comment);
I then open the zip file with Winrar on my windows machine and in the comment you can see
, \t
appearing as is ... indicating that either winrar don't allow this or i wrong set the zipArchive comment.