> Hi!
>
> >even though i did convert_to_string_ex(tmpString) ?
>
You should still do that, but the only thing that really does is set the
zval type to IS_STRING, and the value union is set accordingly (instead of
e.g. a long in value.lval, you get the value as a string in value.str.val
(and the length of the string in value.str.len, excl. terminating 0).
So what you have after the conversion is still a zval, but you can now
safely use the value.str.val (which is of type char *, as you would expect).
Cheerio, Marc.
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]