zend_parse_paramters can not get the length of string parameter

From: Date: Sat, 07 Mar 2009 06:22:38 +0000
Subject: zend_parse_paramters can not get the length of string parameter
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6197@lists.php.net to get a copy of this message
Hi there, I am using the following code to get parameters > if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", > &text, &text_len, &search_method, dict_rsrc) == > FAILURE) { > RETURN_FALSE; > } but the text_len is always 0. When I use php_printf("text is %s",text), it exactly output what I want. Can any one give me some clue that what may cause problems like this?

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