1 /* This is a generated file, edit the .stub.php file instead. 2 * Stub hash: ece8c5157dc3a62ca2951d058b3c5497bb5cb836 */ 3 4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter___construct, 0, 0, 2) 5 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0) 6 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 7 ZEND_END_ARG_INFO() 8 9 #define arginfo_class_MessageFormatter_create arginfo_class_MessageFormatter___construct 10 11 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter_format, 0, 0, 1) 12 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0) 13 ZEND_END_ARG_INFO() 14 15 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter_formatMessage, 0, 0, 3) 16 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0) 17 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 18 ZEND_ARG_TYPE_INFO(0, values, IS_ARRAY, 0) 19 ZEND_END_ARG_INFO() 20 21 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter_parse, 0, 0, 1) 22 ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0) 23 ZEND_END_ARG_INFO() 24 25 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter_parseMessage, 0, 0, 3) 26 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0) 27 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 28 ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0) 29 ZEND_END_ARG_INFO() 30 31 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter_setPattern, 0, 0, 1) 32 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0) 33 ZEND_END_ARG_INFO() 34 35 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_MessageFormatter_getPattern, 0, 0, 0) 36 ZEND_END_ARG_INFO() 37 38 #define arginfo_class_MessageFormatter_getLocale arginfo_class_MessageFormatter_getPattern 39 40 #define arginfo_class_MessageFormatter_getErrorCode arginfo_class_MessageFormatter_getPattern 41 42 #define arginfo_class_MessageFormatter_getErrorMessage arginfo_class_MessageFormatter_getPattern 43 44 45 ZEND_METHOD(MessageFormatter, __construct); 46 ZEND_FUNCTION(msgfmt_create); 47 ZEND_FUNCTION(msgfmt_format); 48 ZEND_FUNCTION(msgfmt_format_message); 49 ZEND_FUNCTION(msgfmt_parse); 50 ZEND_FUNCTION(msgfmt_parse_message); 51 ZEND_FUNCTION(msgfmt_set_pattern); 52 ZEND_FUNCTION(msgfmt_get_pattern); 53 ZEND_FUNCTION(msgfmt_get_locale); 54 ZEND_FUNCTION(msgfmt_get_error_code); 55 ZEND_FUNCTION(msgfmt_get_error_message); 56 57 58 static const zend_function_entry class_MessageFormatter_methods[] = { 59 ZEND_ME(MessageFormatter, __construct, arginfo_class_MessageFormatter___construct, ZEND_ACC_PUBLIC) 60 ZEND_ME_MAPPING(create, msgfmt_create, arginfo_class_MessageFormatter_create, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 61 ZEND_ME_MAPPING(format, msgfmt_format, arginfo_class_MessageFormatter_format, ZEND_ACC_PUBLIC) 62 ZEND_ME_MAPPING(formatMessage, msgfmt_format_message, arginfo_class_MessageFormatter_formatMessage, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 63 ZEND_ME_MAPPING(parse, msgfmt_parse, arginfo_class_MessageFormatter_parse, ZEND_ACC_PUBLIC) 64 ZEND_ME_MAPPING(parseMessage, msgfmt_parse_message, arginfo_class_MessageFormatter_parseMessage, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 65 ZEND_ME_MAPPING(setPattern, msgfmt_set_pattern, arginfo_class_MessageFormatter_setPattern, ZEND_ACC_PUBLIC) 66 ZEND_ME_MAPPING(getPattern, msgfmt_get_pattern, arginfo_class_MessageFormatter_getPattern, ZEND_ACC_PUBLIC) 67 ZEND_ME_MAPPING(getLocale, msgfmt_get_locale, arginfo_class_MessageFormatter_getLocale, ZEND_ACC_PUBLIC) 68 ZEND_ME_MAPPING(getErrorCode, msgfmt_get_error_code, arginfo_class_MessageFormatter_getErrorCode, ZEND_ACC_PUBLIC) 69 ZEND_ME_MAPPING(getErrorMessage, msgfmt_get_error_message, arginfo_class_MessageFormatter_getErrorMessage, ZEND_ACC_PUBLIC) 70 ZEND_FE_END 71 }; 72