<?php /** @generate-class-entries */ function variant_set(variant $variant, mixed $value): void {} function variant_add(mixed $left, mixed $right): variant {} function variant_cat(mixed $left, mixed $right): variant {} function variant_sub(mixed $left, mixed $right): variant {} function variant_mul(mixed $left, mixed $right): variant {} function variant_and(mixed $left, mixed $right): variant {} function variant_div(mixed $left, mixed $right): variant {} function variant_eqv(mixed $left, mixed $right): variant {} function variant_idiv(mixed $left, mixed $right): variant {} function variant_imp(mixed $left, mixed $right): variant {} function variant_mod(mixed $left, mixed $right): variant {} function variant_or(mixed $left, mixed $right): variant {} function variant_pow(mixed $left, mixed $right): variant {} function variant_xor(mixed $left, mixed $right): variant {} function variant_abs(mixed $value): variant {} function variant_fix(mixed $value): variant {} function variant_int(mixed $value): variant {} function variant_neg(mixed $value): variant {} function variant_not(mixed $value): variant {} function variant_round(mixed $value, int $decimals): ?variant {} function variant_cmp(mixed $left, mixed $right, int $locale_id = LOCALE_SYSTEM_DEFAULT, int $flags = 0): int {} function variant_date_to_timestamp(variant $variant): ?int {} function variant_date_from_timestamp(int $timestamp): variant {} function variant_get_type(variant $variant): int {} function variant_set_type(variant $variant, int $type): void {} function variant_cast(variant $variant, int $type): variant {} function com_get_active_object(string $prog_id, ?int $codepage = null): variant {} function com_create_guid(): string|false {} function com_event_sink(variant $variant, object $sink_object, array|string|null $sink_interface = null): bool {} function com_print_typeinfo(variant|string $variant, ?string $dispatch_interface = null, bool $display_sink = false): bool {} function com_message_pump(int $timeout_milliseconds = 0): bool {} function com_load_typelib(string $typelib, bool $case_insensitive = true): bool {} /** @not-serializable */ class variant { public function __construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP) {} } class com extends variant { public function __construct(string $module_name, array|string|null $server_name = null, int $codepage = CP_ACP, string $typelib = "") {} } #if HAVE_MSCOREE_H class dotnet extends variant { public function __construct(string $assembly_name, string $datatype_name, int $codepage = CP_ACP) {} } #endif final class com_safearray_proxy { } final class com_exception extends Exception { }