1<?php 2 3/** @generate-function-entries */ 4 5function zend_version(): string {} 6 7function func_num_args(): int {} 8 9function func_get_arg(int $position): mixed {} 10 11function func_get_args(): array {} 12 13function strlen(string $string): int {} 14 15function strcmp(string $string1, string $string2): int {} 16 17function strncmp(string $string1, string $string2, int $length): int {} 18 19function strcasecmp(string $string1, string $string2): int {} 20 21function strncasecmp(string $string1, string $string2, int $length): int {} 22 23function error_reporting(?int $error_level = null): int {} 24 25/** @param mixed $value */ 26function define(string $constant_name, $value, bool $case_insensitive = false): bool {} 27 28function defined(string $constant_name): bool {} 29 30function get_class(object $object = UNKNOWN): string {} 31 32function get_called_class(): string {} 33 34function get_parent_class(object|string $object_or_class = UNKNOWN): string|false {} 35 36/** @param object|string $object_or_class */ 37function is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool {} 38 39/** @param object|string $object_or_class */ 40function is_a(mixed $object_or_class, string $class, bool $allow_string = false): bool {} 41 42function get_class_vars(string $class): array {} 43 44function get_object_vars(object $object): array {} 45 46function get_mangled_object_vars(object $object): array {} 47 48function get_class_methods(object|string $object_or_class): array {} 49 50/** @param object|string $object_or_class */ 51function method_exists($object_or_class, string $method): bool {} 52 53/** @param object|string $object_or_class */ 54function property_exists($object_or_class, string $property): bool {} 55 56function class_exists(string $class, bool $autoload = true): bool {} 57 58function interface_exists(string $interface, bool $autoload = true): bool {} 59 60function trait_exists(string $trait, bool $autoload = true): bool {} 61 62function function_exists(string $function): bool {} 63 64function class_alias(string $class, string $alias, bool $autoload = true): bool {} 65 66function get_included_files(): array {} 67 68/** @alias get_included_files */ 69function get_required_files(): array {} 70 71function trigger_error(string $message, int $error_level = E_USER_NOTICE): bool {} 72 73/** @alias trigger_error */ 74function user_error(string $message, int $error_level = E_USER_NOTICE): bool {} 75 76/** @return string|array|object|null */ 77function set_error_handler(?callable $callback, int $error_levels = E_ALL) {} 78 79function restore_error_handler(): bool {} 80 81/** @return string|array|object|null */ 82function set_exception_handler(?callable $callback) {} 83 84function restore_exception_handler(): bool {} 85 86function get_declared_classes(): array {} 87 88function get_declared_traits(): array {} 89 90function get_declared_interfaces(): array {} 91 92function get_defined_functions(bool $exclude_disabled = true): array {} 93 94function get_defined_vars(): array {} 95 96/** @param resource $resource */ 97function get_resource_type($resource): string {} 98 99/** @param resource $resource */ 100function get_resource_id($resource): int {} 101 102function get_resources(?string $type = null): array {} 103 104function get_loaded_extensions(bool $zend_extensions = false): array {} 105 106function get_defined_constants(bool $categorize = false): array {} 107 108function debug_backtrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit = 0): array {} 109 110function debug_print_backtrace(int $options = 0, int $limit = 0): void {} 111 112function extension_loaded(string $extension): bool {} 113 114function get_extension_funcs(string $extension): array|false {} 115 116#if ZEND_DEBUG && defined(ZTS) 117function zend_thread_id(): int {} 118#endif 119 120function gc_mem_caches(): int {} 121 122function gc_collect_cycles(): int {} 123 124function gc_enabled(): bool {} 125 126function gc_enable(): void {} 127 128function gc_disable(): void {} 129 130function gc_status(): array {} 131