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 -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
