19#include <unicode/ustring.h>
20#include <unicode/uloc.h>
31 size_t locale_len = 0, pattern_len = 0;
33 UChar* spattern =
NULL;
34 int32_t spattern_len = 0;
44 if (error_handling !=
NULL) {
46 *error_handling_replaced = 1;
58 if(pattern && pattern_len) {
67 if (
strlen(uloc_getISO3Language(locale)) == 0) {
99 bool error_handling_replaced = 0;
107 if (error_handling_replaced) {
foreach($dp as $el) foreach( $dp as $el) if( $pass2< 2) echo ""
zend_class_entry * IntlException_ce_ptr
void intl_convert_utf8_to_utf16(UChar **target, int32_t *target_len, const char *src, size_t src_len, UErrorCode *status)
#define INTL_DATA_ERROR_P(obj)
#define INTL_CTOR_CHECK_STATUS(obj, msg)
#define INTL_DATA_ERROR_CODE(obj)
#define INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len)
zend_string * intl_error_get_message(intl_error *err)
const char * intl_locale_get_default(void)
numfmt_get_error_code(NumberFormatter $formatter)
numfmt_create(string $locale, int $style, ?string $pattern=null)
numfmt_get_error_message(NumberFormatter $formatter)
ZEND_API ZEND_COLD void zend_throw_error(zend_class_entry *exception_ce, const char *format,...)
#define INTERNAL_FUNCTION_PARAMETERS
ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *exception_class, zend_error_handling *current)
ZEND_API void zend_restore_error_handling(zend_error_handling *saved)
#define INTERNAL_FUNCTION_PARAM_PASSTHRU
ZEND_API zend_result object_init_ex(zval *arg, zend_class_entry *class_type)
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 Z_PARAM_STRING(dest, dest_len)
#define ZEND_PARSE_PARAMETERS_END_EX(failure)
#define Z_PARAM_STRING_OR_NULL(dest, dest_len)
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args)
#define Z_PARAM_LONG(dest)
ZEND_API ZEND_COLD zend_object * zend_throw_exception(zend_class_entry *exception_ce, const char *message, zend_long code)
struct _zend_string zend_string
ZEND_API void zval_ptr_dtor(zval *zval_ptr)