Re: maximum string length
| From: | Steven Walker | Date: | Wed, 27 Feb 2002 17:26:17 +0000 |
| Subject: | Re: maximum string length | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86434@lists.php.net to get a copy of this message | ||
It may be able to store 8MB, but each line can only hold 1024 characters. I ran into this using a string variable to store the message body of an HTML email. If I did not put a '\n' at the end of each line, I would get random '!' placed through the sent email.
Steven J. Walker
Walker Effects
www.walkereffects.com
steve@walkereffects.com
On Wednesday, February 27, 2002, at 07:55 AM, Bogdan Stancescu wrote:
Generally more than you'll ever need :-) About 8 MB by default. Bogdan Kancha . wrote:What is the maximum number of characters a variable of type string can hold ?? Is there a restriction ?? $x = "adfafasfadfaf " what is the max number of characters $x can hold ?? __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php