Steven

> 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.

Maybe you know more about what Kancha is planning to do with this massive string, but 
the above criticism only
applies to strings used to 'write' an email msg - and only to certain email 
servers/clients at that. It doesn't
apply to strings within PHP, eg reading in the whole of some large text file and 
storing it in a string.

Regards,
=dn


> 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
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to