note 18467 added to function.file

From: Date: Thu, 24 Jan 2002 07:05:13 +0000
Subject: note 18467 added to function.file
Groups: php.notes 
Request: Send a blank email to php-notes+get-25770@lists.php.net to get a copy of this message
I'm wondering if file() has a limitation that it can only read data up to 8443 bytes into each array element. I have a file with a very long line (over 9000 column), when file() function read this line, it split this line into 2, from column 0 to 8443 into $a[0] (e.g. $a=file("long.txt"); ), and the rest into $a[1] I search through many site and the bug database, it seems that no one has encounter with this before and I don't think it's a bug, just a limitation, am I right? -- http://www.php.net/manual/en/function.file.php http://master.php.net/manage/user-notes.php?action=edit+18467 http://master.php.net/manage/user-notes.php?action=delete+18467 http://master.php.net/manage/user-notes.php?action=reject+18467

« previous php.notes (#25770) next »