note 53556 added to function.file
| From: | khao_lek at yahoo dot com | Date: | Mon, 06 Jun 2005 02:47:16 +0000 |
| Subject: | note 53556 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89981@lists.php.net to get a copy of this message | ||
i'm use file() for read text file (32,199 line) but it's error
"Fatal error: Allowed memory size of 16777216 bytes exhausted at (null):0 (tried to allocate
273 bytes) in /var/www/html/back/exedata/data.php on line 19"
( line 19 in data.php :
$this->strLines = file($this->strFilename); ) and "size of " not static the first
16777216 bytes and seconds 17826064 bytes and them 17825920 bytes .please announce it to me
----
Manual Page -- http://www.php.net/manual/en/function.file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53556
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53556&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53556&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53556&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53556&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53556&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53556&report=yes
Search -- http://master.php.net/manage/user-notes.php