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 [EMAIL PROTECTED] 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php