[php-src] 扩展中封装业务与 call_user_function 的使用建议

摘要: 内容均以php5.6.14为例. 从一个封装 uniqid 的例子来讲。 /* {{{ wrapper of uniqid */ PHP_FUNCTION(fox) { // #1. zval *prefix, *more = NULL; zval function, *params[2] = {0 阅读全文
posted @ 2016-07-02 19:18 ercom 阅读(1072) 评论(0) 推荐(0)