Limitations of file() (and serialize(), unserialize())
| From: | Keith Devens | Date: | Sun, 10 Sep 2000 00:35:51 +0000 |
| Subject: | Limitations of file() (and serialize(), unserialize()) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16016@lists.php.net to get a copy of this message | ||
Hi, just wondering if there are any limitations as to the size of a line
that file() can read. I have a file into which I serialize an entire data
structure. It looks like it finally got too big and file() returned false.
Or maybe it was the unserialize() that returned false? What are the
limitations of serialize and unserialize? Thanks!
Keith
P.S. Just to clarify, my web host (very unfortunately) is still running v4
RC1. I tried the same code with the same data locally (using 4.0.2) and it
worked. However, this has me wondering if I'll run into this problem again
at a later date, or was the problem I ran into with RC1 simply limited to
that version and not likely to occur again with a non-beta version? Thanks
again.