Re: New function bytesize()
| From: | Teodor Cimpoesu | Date: | Thu, 20 Jul 2000 15:33:18 +0000 |
| Subject: | Re: New function bytesize() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25232@lists.php.net to get a copy of this message | ||
Hi Mathieu!
On Wed, 19 Jul 2000, Mathieu Kooiman (ggInternet) wrote:
>
> Alright, so I made this function
> it does nested arrays and nested objects like a charm!
>
> But ehm I have this silly question.
> sizeof(string) = strlen(string) right?
>
to my knowlege ,nope, it's strlen()+1 (the '\0').
and for a `char s[]' decl. it's also different.
-- teodor