Re: Size of a string
| From: | Daniel Gustafsson | Date: | Wed, 05 Jul 2000 13:08:54 +0000 |
| Subject: | Re: Size of a string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4924@lists.php.net to get a copy of this message | ||
At 08:53 AM 7/5/00 -0400, you wrote:
>No, I mean the size in bytes, not the length. Sizeof in c determines
>the size in bytes, strlen determines the length.
I kinda thought so.
Dunno 'bout that, afaik the strings in PHP are dynamic and don't take up
more memory memore than the length of the string but I'll have to leave
that to the authors or anyone that has insight in the code and the memory
managment of strings.