Hi!

> I am having a really hard time figuring out why this is throwing a segment
> fault.
> 
> char *input_file = NULL;
> char *output_file = NULL;
> zend_bool formatoutput = 0;
> if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &input_file,
> &output_file, &formatoutput) == FAILURE) {

"s" requires char * and int (two params). See
README.PARAMETER_PARSING_API for more details about how
zend_parse_parameters works.


-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to