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/** @param object|string $object_or_class */ 72function property_exists($object_or_class, string $property): bool {} 73 74function class_exists(string $class, bool $autoload = true): bool {} 75 76function interface_exists(string $interface, bool $autoload = true): bool {} 77 78function trait_exists(string $trait, bool $autoload = true): bool {} 79 80function enum_exists(string $enum, bool $autoload = true): bool {} 81 82function function_exists(string $function): bool {} 83 84function class_alias(string $class, string $alias, bool $autoload = true): bool {} 85 86/** 87 * @return array<int, string> 88 * @refcount 1 89 */ 90function get_included_files(): array {} 91 92/** 93 * @return array<int, string> 94 * @alias get_included_files 95 */ 96function get_required_files(): array {} 97 98function trigger_error(string $message, int $error_level = E_USER_NOTICE): bool {} 99 100/** @alias trigger_error */ 101function user_error(string $message, int $error_level = E_USER_NOTICE): bool {} 102 103/** @return callable|null */ 104function set_error_handler(?callable $callback, int $error_levels = E_ALL) {} 105 106function restore_error_handler(): true {} 107 108/** @return callable|null */ 109function set_exception_handler(?callable $callback) {} 110 111function restore_exception_handler(): true {} 112 113/** 114 * @return array<int, string> 115 * @refcount 1 116 */ 117function get_declared_classes(): array {} 118 119/** 120 * @return array<int, string> 121 * @refcount 1 122*/ 123function get_declared_traits(): array {} 124 125/** 126 * @return array<int, string> 127 * @refcount 1 128 */ 129function get_declared_interfaces(): array {} 130 131/** 132 * @return array<string, array> 133 * @refcount 1 134 */ 135function get_defined_functions(bool $exclude_disabled = true): array {} 136 137/** 138 * @return array<string, mixed|ref> 139 * @refcount 1 140 */ 141function get_defined_vars(): array {} 142 143/** 144 * @param resource $resource 145 * @refcount 1 146 */ 147function get_resource_type($resource): string {} 148 149/** @param resource $resource */ 150function get_resource_id($resource): int {} 151 152function get_resources(?string $type = null): array {} 153 154/** 155 * @return array<int, string> 156 * @refcount 1 157 */ 158function get_loaded_extensions(bool $zend_extensions = false): array {} 159 160/** 161 * @return array<string, mixed> 162 * @refcount 1 163 */ 164function get_defined_constants(bool $categorize = false): array {} 165 166/** 167 * @return array<int, array> 168 * @refcount 1 169 */ 170function debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0): array {} 171 172function debug_print_backtrace(int $options = 0, int $limit = 0): void {} 173 174function extension_loaded(string $extension): bool {} 175 176/** 177 * @return array<int, string>|false 178 * @refcount 1 179 */ 180function get_extension_funcs(string $extension): array|false {} 181 182#if ZEND_DEBUG && defined(ZTS) 183function zend_thread_id(): int {} 184#endif 185 186function gc_mem_caches(): int {} 187 188function gc_collect_cycles(): int {} 189 190function gc_enabled(): bool {} 191 192function gc_enable(): void {} 193 194function gc_disable(): void {} 195 196/** 197 * @return array<string, int|float|bool> 198 * @refcount 1 199 */ 200function gc_status(): array {} 201