I am struggling to find the maximum size a string can hold in PHP. So far, the results indicate "more than you need", "8mb", "10mb" or "50mb" from most places.
Does anybody have a difinitive answer? In a week I'm going to be doing some work that'll probably include a string of 9mb, and wanted to find out the max size before running into any problems. Any ideas anybody?
Regards
A. Lees
Maximum string size?
Moderator: General Moderators
Re: Maximum string size?
As long as your server has more than 9mb of memory then you'll be fine 
Re: Maximum string size?
So it's not limited by the language itself? - Only by my hardware?
Regards
A. Lees
Regards
A. Lees
Re: Maximum string size?
Yeah. If you read up on strings you can see for yourself.