Hiya,
For my module I've been playing with zend_parse_parameters().
I ran into something weird though:
--
zval *rsrc_pdb;
char *data;
int s_len = 0, index = 0, mode = PDB_ADD_APPEND;
if ( zend_parse_parameters ( ZEND_NUM_ARGS() TSRMLS_CC, "rsdd",
&rsrc_pdb, &data, &s_len, &index, &mode) == FAILURE) {
return;
}
--
This "works". As in, it doesn't return FAILURE. However, after
inspecting this with gdb, s_len seems to still be 0 after calling
zend_parse_parameters()..
Am I doing something wrong or is zend_parse_parameters() ??
Mathieu
--
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]