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