I have a PHP program that opens a text data file, reads it, adds to it, and saves it again.
The question is: how big can that file get, or how many lines can it contain, before PHP runs out of space or memory?

Before I start getting error codes I'd like to have some idea of what the limits are, or how to find out - and how to change them.

Thank you;