zend_parse_parameters()

From: Date: Tue, 04 Dec 2001 13:47:05 +0000
Subject: zend_parse_parameters()
Groups: php.dev 
Request: Send a blank email to php-dev+get-72445@lists.php.net to get a copy of this message
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

« previous php.dev (#72445) next »