note 19955 deleted from function.file by sobak

From: Date: Fri, 25 Nov 2016 06:27:34 +0000
Subject: note 19955 deleted from function.file by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207651@lists.php.net to get a copy of this message
Note Submitter: andrea at brancatelli dot it ---- file() has a strange behaviour when reading file with both \n and \r as line delimitator (DOS files), since it will return an array with every single line but with just a \n in the end. It seems like \r just disappears. This is happening with PHP 4.0.4 for OS/2. Don't know about the Windows version.

« previous php.notes (#207651) next »