用 C 扩展 PHP-yoonix.运维网 .com-运维网 博客
intarg_len, len;char string; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC,"s", &arg, &arg_len) == FAILURE) {return; }len = sprintf(string, "Congratulations! You havesuccessfully modified ext/%.78s/config.m4. Module %.78s is now compiled intoPHP.", "haosoft_php_module", arg); RETURN_STRINGL(string, len,1);}
页:
[1]