Arrays and arrays of arrays....

From: Date: Fri, 12 Nov 2004 23:05:05 +0000
Subject: Arrays and arrays of arrays....
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-1611@lists.php.net to get a copy of this message
Hi ! I need to pass as argument an array and an array of arrays... only thing is i can't figure out how to get the data then, i did this : zval *urls; //long url_len; int number_of_calls, i, error_code; CURLM *multi_handle; CURL *http_get_handle; if(ZEND_NUM_ARGS() != 1) WRONG_PARAM_COUNT; if(zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a", &urls) == FAILURE) RETURN_EMPTY_STRING(); zend_printf("%s Arg\n", urls->value.str.val); Erm.... 'm very lost on this... i been looking how print_r does but it calls a nApplyAccount thing that is not in the zval structure... So if someone may help.... thanks :)

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