Re: PHP extension dealing with array cause crash

From: Date: Mon, 07 Jan 2008 21:30:25 +0000
Subject: Re: PHP extension dealing with array cause crash
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5030@lists.php.net to get a copy of this message
Thanks for the reply but I was using add_next_index_string which does not require the length. ZEND_API int add_next_index_string(zval *arg, const char *str, int duplicate) I tried running it in VS2005 and DevPartner, they did fine anything other than the error message box. On Sat, 05 Jan 2008 01:29:57 -0800, Antony Dovgal <tony@daylessday.org> wrote:
On 04.01.2008 01:39, Tony Ser wrote:
         MAKE_STD_ZVAL(objectEntry);
         array_init(objectEntry);
         add_next_index_string(objectEntry, "TestEntryTestEntryTestEntryTestEntryTestEntryTestEntryTestEntryTestEntry", 1);
         add_next_index_string(objectEntry, "000000000000000000000000000000000000000000000000000000000000000000000000", 1);
ZEND_API int add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate) You've missed last parameter.
Runtime Error! R6030 - CRT not initialized
Is there something like valgrind on windows?


« previous php.pecl.dev (#5030) next »