php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_builtin_functions.stub.php
Go to the documentation of this file.
1<?php
2
4
5#[\AllowDynamicProperties]
7{
8}
9
10function exit(string|int $status = 0): never {}
11
13function die(string|int $status = 0): never {}
14
17
19
20function func_get_arg(int $position): mixed {}
21
24
25function strlen(string $string): int {}
26
28function strcmp(string $string1, string $string2): int {}
29
31function strncmp(string $string1, string $string2, int $length): int {}
32
34function strcasecmp(string $string1, string $string2): int {}
35
37function strncasecmp(string $string1, string $string2, int $length): int {}
38
39function error_reporting(?int $error_level = null): int {}
40
41function define(string $constant_name, mixed $value, bool $case_insensitive = false): bool {}
42
43function defined(string $constant_name): bool {}
44
45function get_class(object $object = UNKNOWN): string {}
46
48
49function get_parent_class(object|string $object_or_class = UNKNOWN): string|false {}
50
52function is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool {}
53
55function is_a(mixed $object_or_class, string $class, bool $allow_string = false): bool {}
56
61function get_class_vars(string $class): array {}
62
64
66
71function get_class_methods(object|string $object_or_class): array {}
72
74function method_exists($object_or_class, string $method): bool {}
75
80function property_exists($object_or_class, string $property): bool {}
81
86function class_exists(string $class, bool $autoload = true): bool {}
87
88function interface_exists(string $interface, bool $autoload = true): bool {}
89
90function trait_exists(string $trait, bool $autoload = true): bool {}
91
92function enum_exists(string $enum, bool $autoload = true): bool {}
93
94function function_exists(string $function): bool {}
95
96function class_alias(string $class, string $alias, bool $autoload = true): bool {}
97
103
109
110function trigger_error(string $message, int $error_level = E_USER_NOTICE): true {}
111
113function user_error(string $message, int $error_level = E_USER_NOTICE): true {}
114
116function set_error_handler(?callable $callback, int $error_levels = E_ALL) {}
117
118function restore_error_handler(): true {}
119
121function set_exception_handler(?callable $callback) {}
122
123function restore_exception_handler(): true {}
124
130
136
142
147function get_defined_functions(bool $exclude_disabled = true): array {}
148
154
159function get_resource_type($resource): string {}
160
162function get_resource_id($resource): int {}
163
164function get_resources(?string $type = null): array {}
165
170function get_loaded_extensions(bool $zend_extensions = false): array {}
171
176function get_defined_constants(bool $categorize = false): array {}
177
183
184function debug_print_backtrace(int $options = 0, int $limit = 0): void {}
185
186function extension_loaded(string $extension): bool {}
187
192function get_extension_funcs(string $extension): array|false {}
193
194#if ZEND_DEBUG && defined(ZTS)
196#endif
197
199
201
203
205
207
if(PHP_SAPI !='cli') if($argc< 1) $options
Definition ext_skel.php:376
foreach($dp as $el) foreach( $dp as $el) if( $pass2< 2) echo ""
#define DEBUG_BACKTRACE_PROVIDE_OBJECT
Definition zend.h:450
method_exists($object_or_class, string $method)
property_exists($object_or_class, string $property)
is_subclass_of(mixed $object_or_class, string $class, bool $allow_string=true)
trigger_error(string $message, int $error_level=E_USER_NOTICE)
user_error(string $message, int $error_level=E_USER_NOTICE)
get_defined_constants(bool $categorize=false)
function_exists(string $function)
debug_backtrace(int $options=DEBUG_BACKTRACE_PROVIDE_OBJECT, int $limit=0)
is_a(mixed $object_or_class, string $class, bool $allow_string=false)
define(string $constant_name, mixed $value, bool $case_insensitive=false)
get_extension_funcs(string $extension)
get_class_methods(object|string $object_or_class)
get_resources(?string $type=null)
error_reporting(?int $error_level=null)
set_error_handler(?callable $callback, int $error_levels=E_ALL)
debug_print_backtrace(int $options=0, int $limit=0)
get_resource_id($resource)
strlen(string $string)
strncmp(string $string1, string $string2, int $length)
class_alias(string $class, string $alias, bool $autoload=true)
get_resource_type($resource)
get_loaded_extensions(bool $zend_extensions=false)
trait_exists(string $trait, bool $autoload=true)
defined(string $constant_name)
class_exists(string $class, bool $autoload=true)
func_get_arg(int $position)
set_exception_handler(?callable $callback)
die(string|int $status=0)
get_defined_functions(bool $exclude_disabled=true)
enum_exists(string $enum, bool $autoload=true)
get_class(object $object=UNKNOWN)
get_class_vars(string $class)
get_object_vars(object $object)
get_parent_class(object|string $object_or_class=UNKNOWN)
interface_exists(string $interface, bool $autoload=true)
exit(string|int $status=0)
get_mangled_object_vars(object $object)
extension_loaded(string $extension)
strcmp(string $string1, string $string2)
#define strncasecmp(s1, s2, n)
#define strcasecmp(s1, s2)
#define E_USER_NOTICE
Definition zend_errors.h:33
#define E_ALL
Definition zend_errors.h:43
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
ZEND_API int(* gc_collect_cycles)(void)
Definition zend_gc.c:245
function(EX_VAR(opline->result.var))
object