diff --git a/src/MySQLImport.php b/src/MySQLImport.php index 2e524d3..0016f82 100644 --- a/src/MySQLImport.php +++ b/src/MySQLImport.php @@ -64,7 +64,7 @@ public function read($handle): int $count = $size = 0; while (!feof($handle)) { - $s = fgets($handle); + $s = fgets($handle).''; $size += strlen($s); if (strtoupper(substr($s, 0, 10)) === 'DELIMITER ') { $delimiter = trim(substr($s, 10));