Re: Global HashTables & access violations

From: Date: Tue, 22 Oct 2002 19:58:34 +0000
Subject: Re: Global HashTables & access violations
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-89932@lists.php.net to get a copy of this message
On Tue, 22 Oct 2002, Brian 'Bex' Huff wrote: > char* name; > int arg_len; > if (zend_parse_parameters(1 TSRMLS_CC, "s", &name, &arg_len) == FAILURE) > return; > > It seems to work fine... passing that last pointer seems to make all the > difference... really really wierd. Its not a problem when the parameter > Im passing is an array, or if Im passing multiple parameters... it only > seems to be problematic when the function is a single string value. > > again... wierd... Not it's not. You are supposed to pass in the variables for both the string and its length. -Andrei http://www.gravitonic.com/ <yaragn> ever seen that movie? The Matrix? <yaragn> with those green lines of flying text? <yaragn> *THAT'S* Perl

« previous php.dev (#89932) next »