ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter___construct, 0, 0, 3) ZEND_ARG_INFO(0, locale) ZEND_ARG_INFO(0, datetype) ZEND_ARG_INFO(0, timetype) ZEND_ARG_INFO(0, timezone) ZEND_ARG_INFO(0, calendar) ZEND_ARG_INFO(0, pattern) ZEND_END_ARG_INFO() /* }}} */ /* {{{ IntlDateFormatter_class_functions * Every 'IntlDateFormatter' class method has an entry in this table */ static zend_function_entry IntlDateFormatter_class_functions[] = { PHP_ME( IntlDateFormatter, __construct, arginfo_intldateformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR ) ZEND_FENTRY( create, ZEND_FN( datefmt_create ), arginfo_intldateformatter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( getDateType, ZEND_FN( datefmt_get_datetype ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( getTimeType, ZEND_FN( datefmt_get_timetype ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( getCalendar, ZEND_FN( datefmt_get_calendar ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( getCalendarObject, ZEND_FN( datefmt_get_calendar_object ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( setCalendar, ZEND_FN( datefmt_set_calendar ), arginfo_intldateformatter_setcalendar ) PHP_NAMED_FE( getTimeZoneId, ZEND_FN( datefmt_get_timezone_id ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( setTimeZoneId, ZEND_FN( datefmt_set_timezone_id ), arginfo_intldateformatter_settimezoneid ) PHP_NAMED_FE( getTimeZone, ZEND_FN( datefmt_get_timezone ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( setTimeZone, ZEND_FN( datefmt_set_timezone ), arginfo_intldateformatter_settimezoneid ) PHP_NAMED_FE( setPattern, ZEND_FN( datefmt_set_pattern ), arginfo_intldateformatter_setpattern ) PHP_NAMED_FE( getPattern, ZEND_FN( datefmt_get_pattern ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( getLocale, ZEND_FN( datefmt_get_locale ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( setLenient, ZEND_FN( datefmt_set_lenient ), arginfo_intldateformatter_setlenient ) PHP_NAMED_FE( isLenient, ZEND_FN( datefmt_is_lenient ), arginfo_intldateformatter_getdatetype ) PHP_NAMED_FE( format, ZEND_FN( datefmt_format ), arginfo_intldateformatter_format )
/* {{{ Normalizer methods arguments info */ ZEND_BEGIN_ARG_INFO_EX( normalizer_3_args, 0, 0, 3 ) ZEND_ARG_INFO( 0, arg1 ) ZEND_ARG_INFO( 0, arg2 ) ZEND_ARG_INFO( 0, arg3 ) ZEND_END_ARG_INFO() /* }}} */ /* {{{ Normalizer_class_functions * Every 'Normalizer' class method has an entry in this table */ zend_function_entry Normalizer_class_functions[] = { ZEND_FENTRY( normalize, ZEND_FN( normalizer_normalize ), normalizer_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( isNormalized, ZEND_FN( normalizer_is_normalized ), normalizer_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_FE_END }; /* }}} */ /* {{{ normalizer_register_Normalizer_class * Initialize 'Normalizer' class */ void normalizer_register_Normalizer_class( void ) { zend_class_entry ce; /* Create and register 'Normalizer' class. */ INIT_CLASS_ENTRY( ce, "Normalizer", Normalizer_class_functions ); ce.create_object = NULL;
static PHP_METHOD(swoole_exit_exception, getStatus); static swHashMap *defer_coros; static zend_class_entry swoole_coroutine_util_ce; static zend_class_entry *swoole_coroutine_util_class_entry_ptr; static zend_class_entry swoole_coroutine_iterator_ce; static zend_class_entry *swoole_coroutine_iterator_class_entry_ptr; static zend_class_entry swoole_exit_exception_ce; static zend_class_entry *swoole_exit_exception_class_entry_ptr; static const zend_function_entry swoole_coroutine_util_methods[] = { ZEND_FENTRY(create, ZEND_FN(swoole_coroutine_create), arginfo_swoole_coroutine_create, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(exec, ZEND_FN(swoole_coroutine_exec), arginfo_swoole_coroutine_exec, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, set, arginfo_swoole_coroutine_set, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, yield, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_MALIAS(swoole_coroutine_util, suspend, yield, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, resume, arginfo_swoole_coroutine_resume, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, stats, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, getuid, arginfo_swoole_coroutine_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, sleep, arginfo_swoole_coroutine_sleep, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, fread, arginfo_swoole_coroutine_fread, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, fgets, arginfo_swoole_coroutine_fgets, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, fwrite, arginfo_swoole_coroutine_fwrite, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, readFile, arginfo_swoole_coroutine_readFile, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, writeFile, arginfo_swoole_coroutine_writeFile, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, gethostbyname, arginfo_swoole_coroutine_gethostbyname, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_ME(swoole_coroutine_util, getaddrinfo, arginfo_swoole_coroutine_getaddrinfo, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
ZEND_BEGIN_ARG_INFO_EX( locale_4_args, 0, 0, 4 ) ZEND_ARG_INFO( 0, arg1 ) ZEND_ARG_INFO( 0, arg2 ) ZEND_ARG_INFO( 0, arg3 ) ZEND_ARG_INFO( 0, arg4 ) ZEND_END_ARG_INFO() /* }}} */ /* {{{ Locale_class_functions * Every 'Locale' class method has an entry in this table */ function_entry Locale_class_functions[] = { ZEND_FENTRY( getDefault, zif_locale_get_default , locale_0_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( setDefault, zif_locale_set_default , locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getPrimaryLanguage, ZEND_FN( locale_get_primary_language ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getScript, ZEND_FN( locale_get_script ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getRegion, ZEND_FN( locale_get_region ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getKeywords, ZEND_FN( locale_get_keywords ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getDisplayScript, ZEND_FN( locale_get_display_script ), locale_2_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getDisplayRegion, ZEND_FN( locale_get_display_region ), locale_2_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getDisplayName, ZEND_FN( locale_get_display_name ), locale_2_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getDisplayLanguage, ZEND_FN( locale_get_display_language ), locale_2_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getDisplayVariant, ZEND_FN( locale_get_display_variant ), locale_2_args , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( composeLocale, ZEND_FN( locale_compose ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( parseLocale, ZEND_FN( locale_parse ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( getAllVariants, ZEND_FN( locale_get_all_variants ), locale_1_arg , ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( filterMatches, ZEND_FN( locale_filter_matches ), locale_3_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( lookup, ZEND_FN( locale_lookup ), locale_4_args, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC )
zend_class_entry *phalcon_config_adapter_ce; PHP_METHOD(Phalcon_Config_Adapter, __construct); PHP_METHOD(Phalcon_Config_Adapter, factory); PHP_METHOD(Phalcon_Config_Adapter, setBasePath); PHP_METHOD(Phalcon_Config_Adapter, getBasePath); PHP_METHOD(Phalcon_Config_Adapter, load); static const zend_function_entry phalcon_config_adapter_method_entry[] = { PHP_ME(Phalcon_Config_Adapter, __construct, arginfo_phalcon_config_adapter___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) PHP_ME(Phalcon_Config_Adapter, factory, arginfo_phalcon_config_adapter_factory, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) PHP_ME(Phalcon_Config_Adapter, setBasePath, arginfo_phalcon_config_adapterinterface_setbasepath, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) PHP_ME(Phalcon_Config_Adapter, getBasePath, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) PHP_ME(Phalcon_Config_Adapter, load, arginfo_phalcon_config_adapterinterface_load, ZEND_ACC_PUBLIC) ZEND_FENTRY(read, NULL, arginfo_phalcon_config_adapter_read, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT) PHP_FE_END }; /** * Phalcon\Config\Adapter initializer */ PHALCON_INIT_CLASS(Phalcon_Config_Adapter){ PHALCON_REGISTER_CLASS_EX(Phalcon\\Config, Adapter, config_adapter, phalcon_config_ce, phalcon_config_adapter_method_entry, ZEND_ACC_EXPLICIT_ABSTRACT_CLASS); zend_declare_property_string(phalcon_config_adapter_ce, SL("_basePath"), "", ZEND_ACC_PROTECTED|ZEND_ACC_STATIC); zend_declare_property_null(phalcon_config_adapter_ce, SL("_instances"), ZEND_ACC_PROTECTED|ZEND_ACC_STATIC); zend_class_implements(phalcon_config_adapter_ce, 1, phalcon_config_adapterinterface_ce);
const zend_function_entry zend_funcs_arrayaccess[] = { ZEND_ABSTRACT_ME(arrayaccess, offsetExists, arginfo_arrayaccess_offset) ZEND_ABSTRACT_ME(arrayaccess, offsetGet, arginfo_arrayaccess_offset_get) ZEND_ABSTRACT_ME(arrayaccess, offsetSet, arginfo_arrayaccess_offset_value) ZEND_ABSTRACT_ME(arrayaccess, offsetUnset, arginfo_arrayaccess_offset) ZEND_FE_END }; ZEND_BEGIN_ARG_INFO(arginfo_serializable_serialize, 0) ZEND_ARG_INFO(0, serialized) ZEND_END_ARG_INFO() const zend_function_entry zend_funcs_serializable[] = { ZEND_ABSTRACT_ME(serializable, serialize, NULL) ZEND_FENTRY(unserialize, NULL, arginfo_serializable_serialize, ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT|ZEND_ACC_CTOR) ZEND_FE_END }; /* }}} */ /* {{{ zend_register_interfaces */ ZEND_API void zend_register_interfaces(void) { REGISTER_MAGIC_INTERFACE(traversable, Traversable); REGISTER_MAGIC_INTERFACE(aggregate, IteratorAggregate); REGISTER_MAGIC_IMPLEMENT(aggregate, traversable); REGISTER_MAGIC_INTERFACE(iterator, Iterator); REGISTER_MAGIC_IMPLEMENT(iterator, traversable);
#ifdef HAVE_PCRE static const zend_function_entry swoole_connection_iterator_methods[] = { PHP_ME(swoole_connection_iterator, rewind, arginfo_swoole_void, ZEND_ACC_PUBLIC) PHP_ME(swoole_connection_iterator, next, arginfo_swoole_void, ZEND_ACC_PUBLIC) PHP_ME(swoole_connection_iterator, current, arginfo_swoole_void, ZEND_ACC_PUBLIC) PHP_ME(swoole_connection_iterator, key, arginfo_swoole_void, ZEND_ACC_PUBLIC) PHP_ME(swoole_connection_iterator, valid, arginfo_swoole_void, ZEND_ACC_PUBLIC) PHP_ME(swoole_connection_iterator, count, arginfo_swoole_void, ZEND_ACC_PUBLIC) PHP_FE_END }; #endif static const zend_function_entry swoole_timer_methods[] = { ZEND_FENTRY(tick, ZEND_FN(swoole_timer_tick), arginfo_swoole_timer_after, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(after, ZEND_FN(swoole_timer_after), arginfo_swoole_timer_tick, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(exists, ZEND_FN(swoole_timer_exists), arginfo_swoole_timer_exists, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(clear, ZEND_FN(swoole_timer_clear), arginfo_swoole_timer_clear, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) PHP_FE_END }; static const zend_function_entry swoole_event_methods[] = { ZEND_FENTRY(add, ZEND_FN(swoole_event_add), arginfo_swoole_event_add, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(del, ZEND_FN(swoole_event_del), arginfo_swoole_event_del, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(set, ZEND_FN(swoole_event_set), arginfo_swoole_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(exit, ZEND_FN(swoole_event_exit), arginfo_swoole_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(write, ZEND_FN(swoole_event_write), arginfo_swoole_event_write, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(wait, ZEND_FN(swoole_event_wait), arginfo_swoole_void, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ZEND_FENTRY(defer, ZEND_FN(swoole_event_defer), arginfo_swoole_event_defer, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC)
PHP_ME(Phalcon_Image_Adapter, liquidRescale, arginfo_phalcon_image_adapterinterface_liquidrescale, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, crop, arginfo_phalcon_image_adapterinterface_crop, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, rotate, arginfo_phalcon_image_adapterinterface_rotate, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, flip, arginfo_phalcon_image_adapterinterface_flip, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, sharpen, arginfo_phalcon_image_adapterinterface_sharpen, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, reflection, arginfo_phalcon_image_adapterinterface_reflection, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, watermark, arginfo_phalcon_image_adapterinterface_watermark, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, text, arginfo_phalcon_image_adapterinterface_text, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, mask, arginfo_phalcon_image_adapterinterface_mask, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, background, arginfo_phalcon_image_adapterinterface_background, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, blur, arginfo_phalcon_image_adapterinterface_blur, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, pixelate, arginfo_phalcon_image_adapterinterface_pixelate, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, save, arginfo_phalcon_image_adapterinterface_save, ZEND_ACC_PUBLIC) PHP_ME(Phalcon_Image_Adapter, render, arginfo_phalcon_image_adapterinterface_render, ZEND_ACC_PUBLIC) ZEND_FENTRY(_resize, NULL, arginfo_phalcon_image_adapter__resize, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_liquidRescale, NULL, arginfo_phalcon_image_adapter__liquidrescale, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_crop, NULL, arginfo_phalcon_image_adapter__crop, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_rotate, NULL, arginfo_phalcon_image_adapter__rotate, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_flip, NULL, arginfo_phalcon_image_adapter__flip, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_sharpen, NULL, arginfo_phalcon_image_adapter__sharpen, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_reflection, NULL, arginfo_phalcon_image_adapter__reflection, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_watermark, NULL, arginfo_phalcon_image_adapter__watermark, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_text, NULL, arginfo_phalcon_image_adapter__text, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_mask, NULL, arginfo_phalcon_image_adapter__mask, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_background, NULL, arginfo_phalcon_image_adapter__background, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_blur, NULL, arginfo_phalcon_image_adapter__blur, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_pixelate, NULL, arginfo_phalcon_image_adapter__pixelate, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_save, NULL, arginfo_phalcon_image_adapter__save, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT) ZEND_FENTRY(_render, NULL, arginfo_phalcon_image_adapter__render, ZEND_ACC_PROTECTED | ZEND_ACC_ABSTRACT)
/* * This file is part of the Symfony package. * * (c) Fabien Potencier <*****@*****.**> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #include "event_dispatcher_main.h" zend_class_entry *event_subscriber_interface_ce; static zend_function_entry event_subscriber_interface_methods[]; PHP_MINIT_FUNCTION(event_subscriber_interface) { zend_class_entry ce; INIT_CLASS_ENTRY(ce, ZEND_NS_NAME(EVENT_DISPATCHER_NS, "EventSubscriberInterface"), event_subscriber_interface_methods); event_subscriber_interface_ce = zend_register_internal_interface(&ce TSRMLS_CC); return SUCCESS; } static zend_function_entry event_subscriber_interface_methods[] = { ZEND_FENTRY(getSubscribedEvents, NULL, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC|ZEND_ACC_ABSTRACT) PHP_FE_END };
PHP_FALIAS(get_client_info, mysqli_get_client_info, arginfo_mysqli_no_params) #if defined(MYSQLI_USE_MYSQLND) PHP_FALIAS(get_connection_stats, mysqli_get_connection_stats, arginfo_mysqli_no_params) #endif PHP_FALIAS(get_server_info, mysqli_get_server_info, arginfo_mysqli_no_params) PHP_FALIAS(get_warnings, mysqli_get_warnings, arginfo_mysqli_no_params) PHP_FALIAS(init,mysqli_init_method, arginfo_mysqli_no_params) PHP_FALIAS(kill,mysqli_kill, arginfo_class_mysqli_kill) PHP_FALIAS(multi_query, mysqli_multi_query, arginfo_class_mysqli_multi_query) PHP_FALIAS(__construct, mysqli_link_construct, arginfo_mysqli_connect) PHP_FALIAS(more_results, mysqli_more_results, arginfo_mysqli_no_params) PHP_FALIAS(next_result, mysqli_next_result, arginfo_mysqli_no_params) PHP_FALIAS(options, mysqli_options, arginfo_class_mysqli_options) PHP_FALIAS(ping, mysqli_ping, arginfo_mysqli_no_params) #if defined(MYSQLI_USE_MYSQLND) ZEND_FENTRY(poll, ZEND_FN(mysqli_poll), arginfo_mysqli_poll, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) #endif PHP_FALIAS(prepare, mysqli_prepare, arginfo_class_mysqli_prepare) PHP_FALIAS(query, mysqli_query, arginfo_class_mysqli_query) PHP_FALIAS(real_connect, mysqli_real_connect, arginfo_class_mysqli_real_connect) PHP_FALIAS(real_escape_string, mysqli_real_escape_string, arginfo_class_mysqli_real_escape_string) #if defined(MYSQLI_USE_MYSQLND) PHP_FALIAS(reap_async_query, mysqli_reap_async_query, arginfo_mysqli_no_params) #endif PHP_FALIAS(escape_string, mysqli_real_escape_string, arginfo_class_mysqli_real_escape_string) PHP_FALIAS(real_query, mysqli_real_query, arginfo_class_mysqli_real_query) PHP_FALIAS(release_savepoint, mysqli_release_savepoint, arginfo_class_mysqli_release_savepoint) PHP_FALIAS(rollback, mysqli_rollback, arginfo_class_mysqli_rollback) PHP_FALIAS(savepoint, mysqli_savepoint, arginfo_class_mysqli_savepoint) PHP_FALIAS(select_db,mysqli_select_db, arginfo_class_mysqli_select_db) #ifdef HAVE_MYSQLI_SET_CHARSET
/* {{{ arginfo */ ZEND_BEGIN_ARG_INFO_EX(arginfo_hstore_decode, 0, 0, 1) ZEND_ARG_INFO(0, hstore) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_hstore_encode, 0, 0, 1) ZEND_ARG_INFO(0, arr) ZEND_END_ARG_INFO() /* }}} */ /* {{{ Coder_class_functions * Every 'Coder' class method has an entry in this table */ zend_function_entry Coder_class_functions[] = { ZEND_FENTRY( decode , ZEND_FN(hstore_decode) , arginfo_hstore_decode, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) ZEND_FENTRY( encode , ZEND_FN(hstore_encode) , arginfo_hstore_encode, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_FE_END }; /* }}} */ /* {{{ PHP_MINIT_FUNCTION */ PHP_MINIT_FUNCTION( hstore ) { zend_class_entry ce; INIT_CLASS_ENTRY( ce, "Intaro\\HStore\\Coder", Coder_class_functions ); ce.create_object = NULL; Coder_ce_ptr = zend_register_internal_class( &ce TSRMLS_CC );
/* #include "msgpacki_debug.h" */ #define FILTER_FUNC "MessagePack filter" ZEND_EXTERN_MODULE_GLOBALS(msgpacki); static zend_class_entry *msgpacki_ce_filter; ZEND_METHOD(MSGPACKI_FILTER_CLASS_NAME, nop) {} ZEND_BEGIN_ARG_INFO_EX(arginfo_msgpacki_filter, 0, 0, 1) ZEND_ARG_INFO(0, in) ZEND_END_ARG_INFO() MSGPACKI_ZEND_FUNCTION_ENTRY msgpacki_filter_methods[] = { ZEND_FENTRY(pre_serialize, ZEND_MN(MSGPACKI_FILTER_CLASS_NAME_nop), arginfo_msgpacki_filter, ZEND_ACC_PUBLIC) ZEND_FENTRY(post_serialize, ZEND_MN(MSGPACKI_FILTER_CLASS_NAME_nop), arginfo_msgpacki_filter, ZEND_ACC_PUBLIC) ZEND_FENTRY(pre_unserialize, ZEND_MN(MSGPACKI_FILTER_CLASS_NAME_nop), arginfo_msgpacki_filter, ZEND_ACC_PUBLIC) ZEND_FENTRY(post_unserialize, ZEND_MN(MSGPACKI_FILTER_CLASS_NAME_nop), arginfo_msgpacki_filter, ZEND_ACC_PUBLIC) ZEND_FE_END }; PHP_MSGPACKI_API void msgpacki_filter_data_dtor(msgpacki_filter_data_t *data) { if (data) { if (data->object) { zval_ptr_dtor(&(data->object));
}; static const zend_function_entry spl_funcs_SplHeap[] = { SPL_ME(SplHeap, extract, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, insert, arginfo_heap_insert, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, top, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, count, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, isEmpty, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, rewind, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, current, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, key, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, next, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, valid, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, recoverFromCorruption, arginfo_splheap_void, ZEND_ACC_PUBLIC) SPL_ME(SplHeap, isCorrupted, arginfo_splheap_void, ZEND_ACC_PUBLIC) ZEND_FENTRY(compare, NULL, NULL, ZEND_ACC_PROTECTED|ZEND_ACC_ABSTRACT) {NULL, NULL, NULL} }; /* }}} */ PHP_MINIT_FUNCTION(spl_heap) /* {{{ */ { REGISTER_SPL_STD_CLASS_EX(SplHeap, spl_heap_object_new, spl_funcs_SplHeap); memcpy(&spl_handler_SplHeap, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); spl_handler_SplHeap.offset = XtOffsetOf(spl_heap_object, std); spl_handler_SplHeap.clone_obj = spl_heap_object_clone; spl_handler_SplHeap.count_elements = spl_heap_object_count_elements; spl_handler_SplHeap.get_debug_info = spl_heap_object_get_debug_info; spl_handler_SplHeap.get_gc = spl_heap_object_get_gc; spl_handler_SplHeap.dtor_obj = zend_objects_destroy_object;
+----------------------------------------------------------------------+ */ /* $Id: collator.c,v 1.18 2008/09/20 22:06:18 felipe Exp $ */ #include "php.h" #include "ext/standard/php_array.h" #include "zend_interfaces.h" #include "zend_exceptions.h" #include "php_unicode.h" #include <unicode/ucol.h> const zend_function_entry collator_funcs_collator[] = { ZEND_ME(collator, __construct, NULL, ZEND_ACC_PUBLIC) ZEND_FENTRY(getDefault, ZEND_FN(collator_get_default), NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) ZEND_FENTRY(setDefault, ZEND_FN(collator_set_default), NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) ZEND_NAMED_FE(compare, ZEND_FN(collator_compare), NULL) ZEND_NAMED_FE(setStrength, ZEND_FN(collator_set_strength), NULL) ZEND_NAMED_FE(setAttribute, ZEND_FN(collator_set_attribute), NULL) ZEND_NAMED_FE(getStrength, ZEND_FN(collator_get_strength), NULL) ZEND_NAMED_FE(getAttribute, ZEND_FN(collator_get_attribute), NULL) ZEND_NAMED_FE(sort, ZEND_FN(collator_sort), NULL) {NULL, NULL, NULL} }; zend_class_entry *unicode_collator_ce; static zend_object_handlers unicode_object_handlers_collator; typedef struct _php_collator_obj php_collator_obj;
/* Extension */ #include "php.h" #include "koda_helper.h" #include "Koda/Sandbox/NamesInterface.h" zend_class_entry *ce_Koda_Sandbox_NamesInterface; zend_object_handlers handlers_Koda_Sandbox_NamesInterface; BEGIN_EXTERN_C(); ZEND_BEGIN_ARG_INFO_EX(arginfo_gonnaDo, 0, 0, 0) ZEND_END_ARG_INFO(); /* Register methods */ static const zend_function_entry Koda_Sandbox_NamesInterface_methods[] = { ZEND_FENTRY(gonnaDo, NULL, arginfo_gonnaDo, ZEND_ACC_ABSTRACT | ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; /* Init class */ PHP_MINIT_FUNCTION(init_Koda_Sandbox_NamesInterface) { zend_class_entry ce; /* Init class entry */ INIT_CLASS_ENTRY(ce, "Koda\\Sandbox\\NamesInterface", Koda_Sandbox_NamesInterface_methods); ce_Koda_Sandbox_NamesInterface = zend_register_internal_interface(&ce TSRMLS_CC); return SUCCESS; }