1<?php
2
3/** @generate-class-entries */
4
5/**
6 * @var int
7 * @cvalue CLSCTX_INPROC_SERVER
8 */
9const CLSCTX_INPROC_SERVER = UNKNOWN;
10/**
11 * @var int
12 * @cvalue CLSCTX_INPROC_HANDLER
13 */
14const CLSCTX_INPROC_HANDLER = UNKNOWN;
15/**
16 * @var int
17 * @cvalue CLSCTX_LOCAL_SERVER
18 */
19const CLSCTX_LOCAL_SERVER = UNKNOWN;
20/**
21 * @var int
22 * @cvalue CLSCTX_REMOTE_SERVER
23 */
24const CLSCTX_REMOTE_SERVER = UNKNOWN;
25/**
26 * @var int
27 * @cvalue CLSCTX_SERVER
28 */
29const CLSCTX_SERVER = UNKNOWN;
30/**
31 * @var int
32 * @cvalue CLSCTX_ALL
33 */
34const CLSCTX_ALL = UNKNOWN;
35
36/**
37 * @var int
38 * @cvalue VT_NULL
39 */
40const VT_NULL = UNKNOWN;
41/**
42 * @var int
43 * @cvalue VT_EMPTY
44 */
45const VT_EMPTY = UNKNOWN;
46/**
47 * @var int
48 * @cvalue VT_UI1
49 */
50const VT_UI1 = UNKNOWN;
51/**
52 * @var int
53 * @cvalue VT_I1
54 */
55const VT_I1 = UNKNOWN;
56/**
57 * @var int
58 * @cvalue VT_UI2
59 */
60const VT_UI2 = UNKNOWN;
61/**
62 * @var int
63 * @cvalue VT_I2
64 */
65const VT_I2 = UNKNOWN;
66/**
67 * @var int
68 * @cvalue VT_UI4
69 */
70const VT_UI4 = UNKNOWN;
71/**
72 * @var int
73 * @cvalue VT_I4
74 */
75const VT_I4 = UNKNOWN;
76/**
77 * @var int
78 * @cvalue VT_R4
79 */
80const VT_R4 = UNKNOWN;
81/**
82 * @var int
83 * @cvalue VT_R8
84 */
85const VT_R8 = UNKNOWN;
86/**
87 * @var int
88 * @cvalue VT_BOOL
89 */
90const VT_BOOL = UNKNOWN;
91/**
92 * @var int
93 * @cvalue VT_ERROR
94 */
95const VT_ERROR = UNKNOWN;
96/**
97 * @var int
98 * @cvalue VT_CY
99 */
100const VT_CY = UNKNOWN;
101/**
102 * @var int
103 * @cvalue VT_DATE
104 */
105const VT_DATE = UNKNOWN;
106/**
107 * @var int
108 * @cvalue VT_BSTR
109 */
110const VT_BSTR = UNKNOWN;
111/**
112 * @var int
113 * @cvalue VT_DECIMAL
114 */
115const VT_DECIMAL = UNKNOWN;
116/**
117 * @var int
118 * @cvalue VT_UNKNOWN
119 */
120const VT_UNKNOWN = UNKNOWN;
121/**
122 * @var int
123 * @cvalue VT_DISPATCH
124 */
125const VT_DISPATCH = UNKNOWN;
126/**
127 * @var int
128 * @cvalue VT_VARIANT
129 */
130const VT_VARIANT = UNKNOWN;
131/**
132 * @var int
133 * @cvalue VT_INT
134 */
135const VT_INT = UNKNOWN;
136/**
137 * @var int
138 * @cvalue VT_UINT
139 */
140const VT_UINT = UNKNOWN;
141/**
142 * @var int
143 * @cvalue VT_ARRAY
144 */
145const VT_ARRAY = UNKNOWN;
146/**
147 * @var int
148 * @cvalue VT_BYREF
149 */
150const VT_BYREF = UNKNOWN;
151
152/**
153 * @var int
154 * @cvalue CP_ACP
155 */
156const CP_ACP = UNKNOWN;
157/**
158 * @var int
159 * @cvalue CP_MACCP
160 */
161const CP_MACCP = UNKNOWN;
162/**
163 * @var int
164 * @cvalue CP_OEMCP
165 */
166const CP_OEMCP = UNKNOWN;
167/**
168 * @var int
169 * @cvalue CP_UTF7
170 */
171const CP_UTF7 = UNKNOWN;
172/**
173 * @var int
174 * @cvalue CP_UTF8
175 */
176const CP_UTF8 = UNKNOWN;
177/**
178 * @var int
179 * @cvalue CP_SYMBOL
180 */
181const CP_SYMBOL = UNKNOWN;
182/**
183 * @var int
184 * @cvalue CP_THREAD_ACP
185 */
186const CP_THREAD_ACP = UNKNOWN;
187
188/**
189 * @var int
190 * @cvalue VARCMP_LT
191 */
192const VARCMP_LT = UNKNOWN;
193/**
194 * @var int
195 * @cvalue VARCMP_EQ
196 */
197const VARCMP_EQ = UNKNOWN;
198/**
199 * @var int
200 * @cvalue VARCMP_GT
201 */
202const VARCMP_GT = UNKNOWN;
203/**
204 * @var int
205 * @cvalue VARCMP_NULL
206 */
207const VARCMP_NULL = UNKNOWN;
208/**
209 * @var int
210 * @cvalue LOCALE_SYSTEM_DEFAULT
211 */
212const LOCALE_SYSTEM_DEFAULT = UNKNOWN;
213/**
214 * @var int
215 * @cvalue LOCALE_NEUTRAL
216 */
217const LOCALE_NEUTRAL = UNKNOWN;
218
219/**
220 * @var int
221 * @cvalue NORM_IGNORECASE
222 */
223const NORM_IGNORECASE = UNKNOWN;
224/**
225 * @var int
226 * @cvalue NORM_IGNORENONSPACE
227 */
228const NORM_IGNORENONSPACE = UNKNOWN;
229/**
230 * @var int
231 * @cvalue NORM_IGNORESYMBOLS
232 */
233const NORM_IGNORESYMBOLS = UNKNOWN;
234/**
235 * @var int
236 * @cvalue NORM_IGNOREWIDTH
237 */
238const NORM_IGNOREWIDTH = UNKNOWN;
239/**
240 * @var int
241 * @cvalue NORM_IGNOREKANATYPE
242 */
243const NORM_IGNOREKANATYPE = UNKNOWN;
244#ifdef NORM_IGNOREKASHIDA
245/**
246 * @var int
247 * @cvalue NORM_IGNOREKASHIDA
248 */
249const NORM_IGNOREKASHIDA = UNKNOWN;
250#endif
251
252/**
253 * @var int
254 * @cvalue PHP_DISP_E_DIVBYZERO
255 */
256const DISP_E_DIVBYZERO = UNKNOWN;
257/**
258 * @var int
259 * @cvalue PHP_DISP_E_OVERFLOW
260 */
261const DISP_E_OVERFLOW = UNKNOWN;
262/**
263 * @var int
264 * @cvalue PHP_DISP_E_BADINDEX
265 */
266const DISP_E_BADINDEX = UNKNOWN;
267/**
268 * @var int
269 * @cvalue PHP_DISP_E_PARAMNOTFOUND
270 */
271const DISP_E_PARAMNOTFOUND = UNKNOWN;
272/**
273 * @var int
274 * @cvalue PHP_MK_E_UNAVAILABLE
275 */
276const MK_E_UNAVAILABLE = UNKNOWN;
277
278#if SIZEOF_ZEND_LONG == 8
279/**
280 * @var int
281 * @cvalue VT_UI8
282 */
283const VT_UI8 = UNKNOWN;
284/**
285 * @var int
286 * @cvalue VT_I8
287 */
288const VT_I8 = UNKNOWN;
289#endif
290
291function variant_set(variant $variant, mixed $value): void {}
292
293function variant_add(mixed $left, mixed $right): variant {}
294
295function variant_cat(mixed $left, mixed $right): variant {}
296
297function variant_sub(mixed $left, mixed $right): variant {}
298
299function variant_mul(mixed $left, mixed $right): variant {}
300
301function variant_and(mixed $left, mixed $right): variant {}
302
303function variant_div(mixed $left, mixed $right): variant {}
304
305function variant_eqv(mixed $left, mixed $right): variant {}
306
307function variant_idiv(mixed $left, mixed $right): variant {}
308
309function variant_imp(mixed $left, mixed $right): variant {}
310
311function variant_mod(mixed $left, mixed $right): variant {}
312
313function variant_or(mixed $left, mixed $right): variant {}
314
315function variant_pow(mixed $left, mixed $right): variant {}
316
317function variant_xor(mixed $left, mixed $right): variant {}
318
319function variant_abs(mixed $value): variant {}
320
321function variant_fix(mixed $value): variant {}
322
323function variant_int(mixed $value): variant {}
324
325function variant_neg(mixed $value): variant {}
326
327function variant_not(mixed $value): variant {}
328
329function variant_round(mixed $value, int $decimals): ?variant {}
330
331function variant_cmp(mixed $left, mixed $right, int $locale_id = LOCALE_SYSTEM_DEFAULT, int $flags = 0): int {}
332
333function variant_date_to_timestamp(variant $variant): ?int {}
334
335function variant_date_from_timestamp(int $timestamp): variant {}
336
337function variant_get_type(variant $variant): int {}
338
339function variant_set_type(variant $variant, int $type): void {}
340
341function variant_cast(variant $variant, int $type): variant {}
342
343function com_get_active_object(string $prog_id, ?int $codepage = null): variant {}
344
345function com_create_guid(): string|false {}
346
347function com_event_sink(variant $variant, object $sink_object, array|string|null $sink_interface = null): bool {}
348
349function com_print_typeinfo(variant|string $variant, ?string $dispatch_interface = null, bool $display_sink = false): bool {}
350
351function com_message_pump(int $timeout_milliseconds = 0): bool {}
352
353function com_load_typelib(string $typelib, bool $case_insensitive = true): bool {}
354
355/** @not-serializable */
356class variant
357{
358    public function __construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP) {}
359}
360
361class com extends variant
362{
363    public function __construct(string $module_name, array|string|null $server_name = null, int $codepage = CP_ACP, string $typelib = "") {}
364}
365
366#if HAVE_MSCOREE_H
367class dotnet extends variant
368{
369    public function __construct(string $assembly_name, string $datatype_name, int $codepage = CP_ACP) {}
370}
371#endif
372
373final class com_safearray_proxy
374{
375}
376
377final class com_exception extends Exception
378{
379}
380