Use PHP_EOL instead of chr(10)
[core.git] / inc / classes / main / io / class_FileIoStream.php
index d8ed3515879f7a60676d77152a265d5ee793e5e1..ab3950f59d855f835f46ac6d4a8acda5bf8862a4 100644 (file)
@@ -209,7 +209,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil
                                $readData .= $data[0];
                        } else {
                                // Other raw lines than header/data tagged lines and re-add the new-line char
-                               $readData .= $rawLine . chr(10);
+                               $readData .= $rawLine . PHP_EOL;
                        }
                } // END - foreach