Programming question
| From: | jeroen@php.net | Date: | Thu, 02 Aug 2001 12:13:12 +0000 |
| Subject: | Programming question | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61816@lists.php.net to get a copy of this message | ||
Hi,
can it be assumed that
zval.str.val[zval.str.len] = '\0'?
i.e., the byte after the string in a zval is the null-byte?
That is assumed in various places in ext/standard/string.c, and AFAIK
that may not always be true.
TIA,
Jeroen