1 /* This is a generated file, edit the .stub.php file instead.
2  * Stub hash: eb2f5a660053b4a38858045968b746bdb3be072e */
3 
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Spoofchecker___construct, 0, 0, 0)
5 ZEND_END_ARG_INFO()
6 
7 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Spoofchecker_isSuspicious, 0, 1, _IS_BOOL, 0)
8 	ZEND_ARG_TYPE_INFO(0, string, IS_STRING, 0)
9 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, errorCode, "null")
10 ZEND_END_ARG_INFO()
11 
12 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Spoofchecker_areConfusable, 0, 2, _IS_BOOL, 0)
13 	ZEND_ARG_TYPE_INFO(0, string1, IS_STRING, 0)
14 	ZEND_ARG_TYPE_INFO(0, string2, IS_STRING, 0)
15 	ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, errorCode, "null")
16 ZEND_END_ARG_INFO()
17 
18 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Spoofchecker_setAllowedLocales, 0, 1, IS_VOID, 0)
19 	ZEND_ARG_TYPE_INFO(0, locales, IS_STRING, 0)
20 ZEND_END_ARG_INFO()
21 
22 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Spoofchecker_setChecks, 0, 1, IS_VOID, 0)
23 	ZEND_ARG_TYPE_INFO(0, checks, IS_LONG, 0)
24 ZEND_END_ARG_INFO()
25 
26 #if U_ICU_VERSION_MAJOR_NUM >= 58
27 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_Spoofchecker_setRestrictionLevel, 0, 1, IS_VOID, 0)
28 	ZEND_ARG_TYPE_INFO(0, level, IS_LONG, 0)
29 ZEND_END_ARG_INFO()
30 #endif
31 
32 
33 ZEND_METHOD(Spoofchecker, __construct);
34 ZEND_METHOD(Spoofchecker, isSuspicious);
35 ZEND_METHOD(Spoofchecker, areConfusable);
36 ZEND_METHOD(Spoofchecker, setAllowedLocales);
37 ZEND_METHOD(Spoofchecker, setChecks);
38 #if U_ICU_VERSION_MAJOR_NUM >= 58
39 ZEND_METHOD(Spoofchecker, setRestrictionLevel);
40 #endif
41 
42 
43 static const zend_function_entry class_Spoofchecker_methods[] = {
44 	ZEND_ME(Spoofchecker, __construct, arginfo_class_Spoofchecker___construct, ZEND_ACC_PUBLIC)
45 	ZEND_ME(Spoofchecker, isSuspicious, arginfo_class_Spoofchecker_isSuspicious, ZEND_ACC_PUBLIC)
46 	ZEND_ME(Spoofchecker, areConfusable, arginfo_class_Spoofchecker_areConfusable, ZEND_ACC_PUBLIC)
47 	ZEND_ME(Spoofchecker, setAllowedLocales, arginfo_class_Spoofchecker_setAllowedLocales, ZEND_ACC_PUBLIC)
48 	ZEND_ME(Spoofchecker, setChecks, arginfo_class_Spoofchecker_setChecks, ZEND_ACC_PUBLIC)
49 #if U_ICU_VERSION_MAJOR_NUM >= 58
50 	ZEND_ME(Spoofchecker, setRestrictionLevel, arginfo_class_Spoofchecker_setRestrictionLevel, ZEND_ACC_PUBLIC)
51 #endif
52 	ZEND_FE_END
53 };
54 
register_class_Spoofchecker(void)55 static zend_class_entry *register_class_Spoofchecker(void)
56 {
57 	zend_class_entry ce, *class_entry;
58 
59 	INIT_CLASS_ENTRY(ce, "Spoofchecker", class_Spoofchecker_methods);
60 	class_entry = zend_register_internal_class_ex(&ce, NULL);
61 	class_entry->ce_flags |= ZEND_ACC_NOT_SERIALIZABLE;
62 
63 	zval const_SINGLE_SCRIPT_CONFUSABLE_value;
64 	ZVAL_LONG(&const_SINGLE_SCRIPT_CONFUSABLE_value, USPOOF_SINGLE_SCRIPT_CONFUSABLE);
65 	zend_string *const_SINGLE_SCRIPT_CONFUSABLE_name = zend_string_init_interned("SINGLE_SCRIPT_CONFUSABLE", sizeof("SINGLE_SCRIPT_CONFUSABLE") - 1, 1);
66 	zend_declare_class_constant_ex(class_entry, const_SINGLE_SCRIPT_CONFUSABLE_name, &const_SINGLE_SCRIPT_CONFUSABLE_value, ZEND_ACC_PUBLIC, NULL);
67 	zend_string_release(const_SINGLE_SCRIPT_CONFUSABLE_name);
68 
69 	zval const_MIXED_SCRIPT_CONFUSABLE_value;
70 	ZVAL_LONG(&const_MIXED_SCRIPT_CONFUSABLE_value, USPOOF_MIXED_SCRIPT_CONFUSABLE);
71 	zend_string *const_MIXED_SCRIPT_CONFUSABLE_name = zend_string_init_interned("MIXED_SCRIPT_CONFUSABLE", sizeof("MIXED_SCRIPT_CONFUSABLE") - 1, 1);
72 	zend_declare_class_constant_ex(class_entry, const_MIXED_SCRIPT_CONFUSABLE_name, &const_MIXED_SCRIPT_CONFUSABLE_value, ZEND_ACC_PUBLIC, NULL);
73 	zend_string_release(const_MIXED_SCRIPT_CONFUSABLE_name);
74 
75 	zval const_WHOLE_SCRIPT_CONFUSABLE_value;
76 	ZVAL_LONG(&const_WHOLE_SCRIPT_CONFUSABLE_value, USPOOF_WHOLE_SCRIPT_CONFUSABLE);
77 	zend_string *const_WHOLE_SCRIPT_CONFUSABLE_name = zend_string_init_interned("WHOLE_SCRIPT_CONFUSABLE", sizeof("WHOLE_SCRIPT_CONFUSABLE") - 1, 1);
78 	zend_declare_class_constant_ex(class_entry, const_WHOLE_SCRIPT_CONFUSABLE_name, &const_WHOLE_SCRIPT_CONFUSABLE_value, ZEND_ACC_PUBLIC, NULL);
79 	zend_string_release(const_WHOLE_SCRIPT_CONFUSABLE_name);
80 
81 	zval const_ANY_CASE_value;
82 	ZVAL_LONG(&const_ANY_CASE_value, USPOOF_ANY_CASE);
83 	zend_string *const_ANY_CASE_name = zend_string_init_interned("ANY_CASE", sizeof("ANY_CASE") - 1, 1);
84 	zend_declare_class_constant_ex(class_entry, const_ANY_CASE_name, &const_ANY_CASE_value, ZEND_ACC_PUBLIC, NULL);
85 	zend_string_release(const_ANY_CASE_name);
86 
87 	zval const_SINGLE_SCRIPT_value;
88 	ZVAL_LONG(&const_SINGLE_SCRIPT_value, USPOOF_SINGLE_SCRIPT);
89 	zend_string *const_SINGLE_SCRIPT_name = zend_string_init_interned("SINGLE_SCRIPT", sizeof("SINGLE_SCRIPT") - 1, 1);
90 	zend_declare_class_constant_ex(class_entry, const_SINGLE_SCRIPT_name, &const_SINGLE_SCRIPT_value, ZEND_ACC_PUBLIC, NULL);
91 	zend_string_release(const_SINGLE_SCRIPT_name);
92 
93 	zval const_INVISIBLE_value;
94 	ZVAL_LONG(&const_INVISIBLE_value, USPOOF_INVISIBLE);
95 	zend_string *const_INVISIBLE_name = zend_string_init_interned("INVISIBLE", sizeof("INVISIBLE") - 1, 1);
96 	zend_declare_class_constant_ex(class_entry, const_INVISIBLE_name, &const_INVISIBLE_value, ZEND_ACC_PUBLIC, NULL);
97 	zend_string_release(const_INVISIBLE_name);
98 
99 	zval const_CHAR_LIMIT_value;
100 	ZVAL_LONG(&const_CHAR_LIMIT_value, USPOOF_CHAR_LIMIT);
101 	zend_string *const_CHAR_LIMIT_name = zend_string_init_interned("CHAR_LIMIT", sizeof("CHAR_LIMIT") - 1, 1);
102 	zend_declare_class_constant_ex(class_entry, const_CHAR_LIMIT_name, &const_CHAR_LIMIT_value, ZEND_ACC_PUBLIC, NULL);
103 	zend_string_release(const_CHAR_LIMIT_name);
104 #if U_ICU_VERSION_MAJOR_NUM >= 58
105 
106 	zval const_ASCII_value;
107 	ZVAL_LONG(&const_ASCII_value, USPOOF_ASCII);
108 	zend_string *const_ASCII_name = zend_string_init_interned("ASCII", sizeof("ASCII") - 1, 1);
109 	zend_declare_class_constant_ex(class_entry, const_ASCII_name, &const_ASCII_value, ZEND_ACC_PUBLIC, NULL);
110 	zend_string_release(const_ASCII_name);
111 #endif
112 #if U_ICU_VERSION_MAJOR_NUM >= 58
113 
114 	zval const_HIGHLY_RESTRICTIVE_value;
115 	ZVAL_LONG(&const_HIGHLY_RESTRICTIVE_value, USPOOF_HIGHLY_RESTRICTIVE);
116 	zend_string *const_HIGHLY_RESTRICTIVE_name = zend_string_init_interned("HIGHLY_RESTRICTIVE", sizeof("HIGHLY_RESTRICTIVE") - 1, 1);
117 	zend_declare_class_constant_ex(class_entry, const_HIGHLY_RESTRICTIVE_name, &const_HIGHLY_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL);
118 	zend_string_release(const_HIGHLY_RESTRICTIVE_name);
119 #endif
120 #if U_ICU_VERSION_MAJOR_NUM >= 58
121 
122 	zval const_MODERATELY_RESTRICTIVE_value;
123 	ZVAL_LONG(&const_MODERATELY_RESTRICTIVE_value, USPOOF_MODERATELY_RESTRICTIVE);
124 	zend_string *const_MODERATELY_RESTRICTIVE_name = zend_string_init_interned("MODERATELY_RESTRICTIVE", sizeof("MODERATELY_RESTRICTIVE") - 1, 1);
125 	zend_declare_class_constant_ex(class_entry, const_MODERATELY_RESTRICTIVE_name, &const_MODERATELY_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL);
126 	zend_string_release(const_MODERATELY_RESTRICTIVE_name);
127 #endif
128 #if U_ICU_VERSION_MAJOR_NUM >= 58
129 
130 	zval const_MINIMALLY_RESTRICTIVE_value;
131 	ZVAL_LONG(&const_MINIMALLY_RESTRICTIVE_value, USPOOF_MINIMALLY_RESTRICTIVE);
132 	zend_string *const_MINIMALLY_RESTRICTIVE_name = zend_string_init_interned("MINIMALLY_RESTRICTIVE", sizeof("MINIMALLY_RESTRICTIVE") - 1, 1);
133 	zend_declare_class_constant_ex(class_entry, const_MINIMALLY_RESTRICTIVE_name, &const_MINIMALLY_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL);
134 	zend_string_release(const_MINIMALLY_RESTRICTIVE_name);
135 #endif
136 #if U_ICU_VERSION_MAJOR_NUM >= 58
137 
138 	zval const_UNRESTRICTIVE_value;
139 	ZVAL_LONG(&const_UNRESTRICTIVE_value, USPOOF_UNRESTRICTIVE);
140 	zend_string *const_UNRESTRICTIVE_name = zend_string_init_interned("UNRESTRICTIVE", sizeof("UNRESTRICTIVE") - 1, 1);
141 	zend_declare_class_constant_ex(class_entry, const_UNRESTRICTIVE_name, &const_UNRESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL);
142 	zend_string_release(const_UNRESTRICTIVE_name);
143 #endif
144 #if U_ICU_VERSION_MAJOR_NUM >= 58
145 
146 	zval const_SINGLE_SCRIPT_RESTRICTIVE_value;
147 	ZVAL_LONG(&const_SINGLE_SCRIPT_RESTRICTIVE_value, USPOOF_SINGLE_SCRIPT_RESTRICTIVE);
148 	zend_string *const_SINGLE_SCRIPT_RESTRICTIVE_name = zend_string_init_interned("SINGLE_SCRIPT_RESTRICTIVE", sizeof("SINGLE_SCRIPT_RESTRICTIVE") - 1, 1);
149 	zend_declare_class_constant_ex(class_entry, const_SINGLE_SCRIPT_RESTRICTIVE_name, &const_SINGLE_SCRIPT_RESTRICTIVE_value, ZEND_ACC_PUBLIC, NULL);
150 	zend_string_release(const_SINGLE_SCRIPT_RESTRICTIVE_name);
151 #endif
152 
153 	return class_entry;
154 }
155