Re: Extension help

From: Date: Tue, 20 Mar 2001 16:05:02 +0000
Subject: Re: Extension help
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-49517@lists.php.net to get a copy of this message
BM>> > but I may be wrong on the level of indirection. BM>> > The zval cannot automagically be put in a %s and treated as a string, you BM>> > should manually extract the pointer to the actual string. BM>> BM>> even though i did convert_to_string_ex(tmpString) ? The convert_to_string_ex makes tmpString to be sting zval (otherwise you better not access the str.val part at all - there could be a pile of thrash there). That doesn't make tmpString a C string, however - it's still a zval. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115

« previous php.dev (#49517) next »