-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathphp_xdebug.stub.php
More file actions
130 lines (78 loc) · 4.43 KB
/
php_xdebug.stub.php
File metadata and controls
130 lines (78 loc) · 4.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?php
/** @generate-function-entries */
/* This file is generated by the 'xdebug.org:html/docs/create-stubs.php' robot
* for Xdebug 3.1.0-dev — do not modify by hand */
/* Emits a breakpoint to the debug client */
function xdebug_break(): bool {}
/* -----------------------------------------------------------------------*/
/* Instructs Xdebug to establish a debugging session */
function xdebug_connect_to_client(): bool {}
/* -----------------------------------------------------------------------*/
/* Show and retrieve diagnostic information */
/** @return mixed */
function xdebug_info(?string $category = null) {}
/* Alias of xdebug_info() in the php_debugger namespace */
/**
* @alias xdebug_info
* @return mixed
*/
function php_debugger_info(?string $category = null) {}
/* -----------------------------------------------------------------------*/
/* Returns whether a debugging session is active */
function xdebug_is_debugger_active(): bool {}
/* -----------------------------------------------------------------------*/
/* Sends data to a debugging client */
function xdebug_notify(mixed $data): bool {}
/* -----------------------------------------------------------------------*/
/* Compatibility stubs — profiler */
/* -----------------------------------------------------------------------*/
function xdebug_get_profiler_filename(): string|false {}
/* -----------------------------------------------------------------------*/
/* Compatibility stubs — coverage */
/* -----------------------------------------------------------------------*/
function xdebug_code_coverage_started(): bool {}
function xdebug_get_code_coverage(): array {}
function xdebug_start_code_coverage(int $options = 0): void {}
function xdebug_stop_code_coverage(bool $cleanUp = true): void {}
/* -----------------------------------------------------------------------*/
/* Compatibility stubs — tracing */
/* -----------------------------------------------------------------------*/
function xdebug_get_tracefile_name(): string|false {}
function xdebug_start_trace(?string $traceFile = null, int $options = 0): string|false {}
function xdebug_stop_trace(): string|false {}
function xdebug_get_function_count(): int {}
function xdebug_start_function_monitor(array $functionNames): void {}
function xdebug_stop_function_monitor(): void {}
function xdebug_get_monitored_functions(): array {}
/* -----------------------------------------------------------------------*/
/* Compatibility stubs — gcstats */
/* -----------------------------------------------------------------------*/
function xdebug_get_gc_run_count(): int {}
function xdebug_get_gc_total_collected_roots(): int {}
function xdebug_get_gcstats_filename(): string|false {}
function xdebug_start_gcstats(): string|false {}
function xdebug_stop_gcstats(): string|false {}
/* -----------------------------------------------------------------------*/
/* Compatibility stubs — develop */
/* -----------------------------------------------------------------------*/
function xdebug_call_class(int $depth = 2): string|false {}
function xdebug_call_file(int $depth = 2): string|false {}
function xdebug_call_function(int $depth = 2): string|false {}
function xdebug_call_line(int $depth = 2): int {}
function xdebug_debug_zval(string ...$varName): void {}
function xdebug_debug_zval_stdout(string ...$varName): void {}
function xdebug_dump_superglobals(): void {}
function xdebug_get_collected_errors(bool $emptyList = false): array {}
function xdebug_get_function_stack(array $options = []): array {}
function xdebug_get_stack_depth(): int {}
function xdebug_memory_usage(): int {}
function xdebug_peak_memory_usage(): int {}
function xdebug_print_function_stack(string $message = 'user triggered', int $options = 0): void {}
function xdebug_start_error_collection(): void {}
function xdebug_stop_error_collection(): void {}
function xdebug_time_index(): float {}
function xdebug_var_dump(mixed ...$var): void {}
/* -----------------------------------------------------------------------*/
/* Compatibility stubs — filters */
/* -----------------------------------------------------------------------*/
function xdebug_set_filter(int $group, int $listType, array $configuration): void {}