1<?php 2 3/** @generate-class-entries */ 4 5#[\AllowDynamicProperties] 6class stdClass 7{ 8} 9 10/** @refcount 1 */ 11function zend_version(): string {} 12 13function func_num_args(): int {} 14 15function func_get_arg(int $position): mixed {} 16 17/** @return array<int, mixed> */ 18function func_get_args(): array {} 19 20function strlen(string $string): int {} 21 22/** @compile-time-eval */ 23function strcmp(string $string1, string $string2): int {} 24 25/** @compile-time-eval */ 26function strncmp(string $string1, string $string2, int $length): int {} 27 28/** @compile-time-eval */ 29function strcasecmp(string $string1, string $string2): int {} 30 31/** @compile-time-eval */ 32function strncasecmp(string $string1, string $string2, int $length): int {} 33 34function error_reporting(?int $error_level = null): int {} 35 36function define(string $constant_name, mixed $value, bool $case_insensitive = false): bool {} 37 38function defined(string $constant_name): bool {} 39 40function get_class(object $object = UNKNOWN): string {} 41 42function get_called_class(): string {} 43 44function get_parent_class(object|string $object_or_class = UNKNOWN): string|false {} 45 46/** @param object|string $object_or_class */ 47function is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool {} 48 49/** @param object|string $object_or_class */ 50function is_a(mixed $object_or_class, string $class, bool $allow_string = false): bool {} 51 52/** 53 * @return array<string, mixed|ref> 54 * @refcount 1 55 */ 56function get_class_vars(string $class): array {} 57 58function get_object_vars(object $object): array {} 59 60function get_mangled_object_vars(object $object): array {} 61 62/** 63 * @return array<int, string> 64 * @refcount 1 65 */ 66function get_class_methods(object|string $object_or_class): array {} 67 68/** @param object|string $object_or_class */ 69function method_exists($object_or_class, string $method): bool {} 70 71/** 72 * @param object|string $object_or_class 73 * @frameless-function {"arity": 2} 74 */ 75function property_exists($object_or_class, string $property): bool {} 76 77/** 78 * @frameless-function {"arity": 1} 79 * @frameless-function {"arity": 2} 80 */ 81function class_exists(string $class, bool $autoload = true): bool {} 82 83function interface_exists(string $interface, bool $autoload = true): bool {} 84 85function trait_exists(string $trait, bool $autoload = true): bool {} 86 87function enum_exists(string $enum, bool $autoload = true): bool {} 88 89function function_exists(string $function): bool {} 90 91function class_alias(string $class, string $alias, bool $autoload = true): bool {} 92 93/** 94 * @return array<int, string> 95 * @refcount 1 96 */ 97function get_included_files(): array {} 98 99/** 100 * @return array<int, string> 101 * @alias get_included_files 102 */ 103function get_required_files(): array {} 104 105function trigger_error(string $message, int $error_level = E_USER_NOTICE): true {} 106 107/** @alias trigger_error */ 108function user_error(string $message, int $error_level = E_USER_NOTICE): true {} 109 110/** @return callable|null */ 111function set_error_handler(?callable $callback, int $error_levels = E_ALL) {} 112 113function restore_error_handler(): true {} 114 115/** @return callable|null */ 116function set_exception_handler(?callable $callback) {} 117 118function restore_exception_handler(): true {} 119 120/** 121 * @return array<int, string> 122 * @refcount 1 123 */ 124function get_declared_classes(): array {} 125 126/** 127 * @return array<int, string> 128 * @refcount 1 129*/ 130function get_declared_traits(): array {} 131 132/** 133 * @return array<int, string> 134 * @refcount 1 135 */ 136function get_declared_interfaces(): array {} 137 138/** 139 * @return array<string, array> 140 * @refcount 1 141 */ 142function get_defined_functions(bool $exclude_disabled = true): array {} 143 144/** 145 * @return array<string, mixed|ref> 146 * @refcount 1 147 */ 148function get_defined_vars(): array {} 149 150/** 151 * @param resource $resource 152 * @refcount 1 153 */ 154function get_resource_type($resource): string {} 155 156/** @param resource $resource */ 157function get_resource_id($resource): int {} 158 159function get_resources(?string $type = null): array {} 160 161/** 162 * @return array<int, string> 163 * @refcount 1 164 */ 165function get_loaded_extensions(bool $zend_extensions = false): array {} 166 167/** 168 * @return array<string, mixed> 169 * @refcount 1 170 */ 171function get_defined_constants(bool $categorize = false): array {} 172 173/** 174 * @return array<int, array> 175 * @refcount 1 176 */ 177function debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0): array {} 178 179function debug_print_backtrace(int $options = 0, int $limit = 0): void {} 180 181function extension_loaded(string $extension): bool {} 182 183/** 184 * @return array<int, string>|false 185 * @refcount 1 186 */ 187function get_extension_funcs(string $extension): array|false {} 188 189#if ZEND_DEBUG && defined(ZTS) 190function zend_thread_id(): int {} 191#endif 192 193function gc_mem_caches(): int {} 194 195function gc_collect_cycles(): int {} 196 197function gc_enabled(): bool {} 198 199function gc_enable(): void {} 200 201function gc_disable(): void {} 202 203/** 204 * @return array<string, int|float|bool> 205 * @refcount 1 206 */ 207function gc_status(): array {} 208