Len = spprintf (&STRG, 0, "congratulations! You have successfully modified EXT/%.78S/CONFIG.M4. Module%.78s is now compiled to PHP. "," Hello ", arg$
Return_stringl (STRG, Len, 0);
}
Php_function (Hello) {
char *dbg = NULL;
int Dbg_len, Len;
int result;
if (Zend_parse_parameters (Zend_num_args () tsrmls_cc, "s", &dbg, &dbg_len) = = FAILURE) {
Return
}
RES_CC = HELLO_CC (DBG);
Return_long (RES_CC);
}
------------PHP5 Call-------------
if (!extension_loaded ("Hello")) {
print "Skip";
} else {
DL (' hello.so '); PHP5 in DL () is masked and added directly to the php.ini hello.so
echo Hello ("SSSSSSSSQQQQQQQQQQQQ");
}
Output-->> blank page, estimated to have collapsed.
Solve the correct php_function (hello), Emergency!!!
------Solution--------------------
If the HELLO_CC definition is not wrong, put it together and compile it.
But you're in the hello_cc. printf seems to violate the convention of PHP extension.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service