Re: PECL Account Request: zmrnet
| From: | Johannes Schlüter | Date: | Mon, 17 Feb 2014 10:12:09 +0000 |
| Subject: | Re: PECL Account Request: zmrnet | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11548@lists.php.net to get a copy of this message | ||
On Mon, 2014-02-17 at 02:59 +0000, Baoqiang Su wrote:
> I have written a PHP extension and would like it listed within the
> PECL directory, and I would like to use php.net for version control
> and hosting.
> Sponsor:
> https://github.com/zmrnet/yodphp/tree/master/yod
Can you tell what that is doing? filenames indicate some form of
framework but there is no documentation, not even a README.
I scrolled quickly over yod.c, there I saw you're using
call_user_function. Look at the zend_call_method[_with_X_params] family
of functions/macros in zend_interfaes.h instead. Keeping the function
pointer (zend_fcall_info_cache) around improves call performance a lot.
I haven't looked deeper, though.
johannes