|
|
|
@ -84,9 +84,11 @@ ZEND_BEGIN_ARG_INFO_EX(spoofchecker_are_confusable, 0, 0, 2) |
|
|
|
ZEND_ARG_INFO(1, error) |
|
|
|
ZEND_END_ARG_INFO() |
|
|
|
|
|
|
|
#if U_ICU_VERSION_MAJOR_NUM >= 51 |
|
|
|
ZEND_BEGIN_ARG_INFO_EX(spoofchecker_set_restriction_level, 0, 0, 1) |
|
|
|
ZEND_ARG_INFO(0, level) |
|
|
|
ZEND_END_ARG_INFO() |
|
|
|
#endif |
|
|
|
|
|
|
|
/* }}} */ |
|
|
|
|
|
|
|
@ -100,7 +102,9 @@ zend_function_entry Spoofchecker_class_functions[] = { |
|
|
|
PHP_ME(Spoofchecker, areConfusable, spoofchecker_are_confusable, ZEND_ACC_PUBLIC) |
|
|
|
PHP_ME(Spoofchecker, setAllowedLocales, spoofchecker_set_allowed_locales, ZEND_ACC_PUBLIC) |
|
|
|
PHP_ME(Spoofchecker, setChecks, spoofchecker_set_checks, ZEND_ACC_PUBLIC) |
|
|
|
#if U_ICU_VERSION_MAJOR_NUM >= 51 |
|
|
|
PHP_ME(Spoofchecker, setRestrictionLevel, spoofchecker_set_restriction_level, ZEND_ACC_PUBLIC) |
|
|
|
#endif |
|
|
|
PHP_FE_END |
|
|
|
}; |
|
|
|
/* }}} */ |
|
|
|
|