21#include <unicode/ustring.h>
28#define ICU_LOCALE_BUG 1
38 int32_t val32, position = 0;
41 int32_t* position_p =
NULL;
54 position = (int32_t) zval_get_long(zposition);
55 position_p = &position;
65#if ICU_LOCALE_BUG && defined(LC_NUMERIC)
93 "use %s%sparseCurrency() method instead", class_name, space);
95 zend_argument_value_error(3,
"cannot be NumberFormatter::TYPE_CURRENCY constant, use numfmt_parse_currency() function instead");
109#if ICU_LOCALE_BUG && defined(LC_NUMERIC)
126 UChar currency[5] = {0};
128 int32_t sstr_len = 0;
132 int32_t* position_p =
NULL;
133 int32_t position = 0;
152 position = (int32_t) zval_get_long(zposition);
153 position_p = &position;
setlocale(int $category, $locales,... $rest)
void intl_convert_utf8_to_utf16(UChar **target, int32_t *target_len, const char *src, size_t src_len, UErrorCode *status)
zend_string * intl_convert_utf16_to_utf8(const UChar *src, int32_t src_len, UErrorCode *status)
#define INTL_DATA_ERROR_CODE(obj)
#define INTL_METHOD_CHECK_STATUS(obj, msg)
numfmt_parse(NumberFormatter $formatter, string $string, int $type=NumberFormatter::TYPE_DOUBLE, &$offset=null)
numfmt_parse_currency(NumberFormatter $formatter, string $string, &$currency, &$offset=null)
ZEND_API zend_result zend_parse_method_parameters(uint32_t num_args, zval *this_ptr, const char *type_spec,...)
ZEND_API ZEND_COLD void zend_argument_value_error(uint32_t arg_num, const char *format,...)
#define ZEND_TRY_ASSIGN_REF_LONG(zv, lval)
#define ZEND_TRY_ASSIGN_REF_NEW_STR(zv, str)
ZEND_API const char * get_active_class_name(const char **space)
struct _zend_string zend_string