|
@@ -101,9 +101,13 @@ PHP_MINFO_FUNCTION(fcgi)
|
|
|
|
|
|
PHP_FUNCTION(confirm_fcgi_compiled)
|
|
|
{
|
|
|
- zend_string *arg;
|
|
|
+ zend_string *arg;
|
|
|
+ char* ret = NULL;
|
|
|
+ int len = 0;
|
|
|
if (zend_parse_parameters(ZEND_NUM_ARGS(), "S", &arg) == FAILURE) {
|
|
|
- RETURN_STRING("as this return char* data");
|
|
|
+ ret = "as this return char* data";
|
|
|
+ len = strlen(ret);
|
|
|
+ RETURN_STRING(ret,len);
|
|
|
} else {
|
|
|
RETURN_STR(arg);
|
|
|
}
|