在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(stdc++, "", EXTRA_LDFLAGS) CPPFILE="extname.cpp" PHP_NEW_EXTENSION(cpptest,$CPPFILE, $ext_shared) extern "C" { #ifdef ZTS #include "TSRM.h" #endif }源文件: extern "C" { #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" #include "php_ini.h" #include "ext/standard/info.h" } char *argv1= NULL ; char *argv2= NULL ; int arg1_len, arg2_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &argv1, &arg1_len,&argv2,&arg2_len) == FAILURE) { return; }解释一下参数的意思:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论