forked from xdebug/xdebug
-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
php_xdebug.stub.php
235 lines (151 loc) · 7.82 KB
/
php_xdebug.stub.php
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<?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 {}
/* -----------------------------------------------------------------------*/
/* Returns the calling class */
/** @return mixed */
function xdebug_call_class(int $depth = 2) {}
/* -----------------------------------------------------------------------*/
/* Returns the calling file */
/** @return mixed */
function xdebug_call_file(int $depth = 2) {}
/* -----------------------------------------------------------------------*/
/* Returns the calling function/method */
/** @return mixed */
function xdebug_call_function(int $depth = 2) {}
/* -----------------------------------------------------------------------*/
/* Returns the calling line number */
/** @return mixed */
function xdebug_call_line(int $depth = 2) {}
/* -----------------------------------------------------------------------*/
/* Returns whether code coverage is active */
function xdebug_code_coverage_started(): bool {}
/* -----------------------------------------------------------------------*/
/* Instructs Xdebug to establish a debugging session */
function xdebug_connect_to_client(): bool {}
/* -----------------------------------------------------------------------*/
/* Displays information about a variable */
/** @return void */
function xdebug_debug_zval(string ...$varname) {}
/* -----------------------------------------------------------------------*/
/* Returns information about variables to stdout */
/** @return void */
function xdebug_debug_zval_stdout(string ...$varname) {}
/* -----------------------------------------------------------------------*/
/* Displays information about super globals */
/** @return void */
function xdebug_dump_superglobals() {}
/* -----------------------------------------------------------------------*/
/* Returns code coverage information */
function xdebug_get_code_coverage(): array {}
/* -----------------------------------------------------------------------*/
/* Returns all collected error messages */
/** @return void */
function xdebug_get_collected_errors(bool $emptyList = false) {}
/* -----------------------------------------------------------------------*/
/* Returns the number of functions that have been called */
function xdebug_get_function_count(): int {}
/* -----------------------------------------------------------------------*/
/* Returns information about the stack */
function xdebug_get_function_stack(array $options = []): array {}
/* -----------------------------------------------------------------------*/
/* Returns the number of garbage collection runs that have been triggered so far */
function xdebug_get_gc_run_count(): int {}
/* -----------------------------------------------------------------------*/
/* Returns the number of variable roots that have been collected so far */
function xdebug_get_gc_total_collected_roots(): int {}
/* -----------------------------------------------------------------------*/
/* Returns the garbage collection statistics filename */
/** @return mixed */
function xdebug_get_gcstats_filename() {}
/* -----------------------------------------------------------------------*/
/* Returns all the headers as set by calls to PHP's header() function */
function xdebug_get_headers(): array {}
/* -----------------------------------------------------------------------*/
/* Returns information about monitored functions */
function xdebug_get_monitored_functions(): array {}
/* -----------------------------------------------------------------------*/
/* Returns the profile information filename */
/** @return mixed */
function xdebug_get_profiler_filename() {}
/* -----------------------------------------------------------------------*/
/* Returns the current stack depth level */
function xdebug_get_stack_depth(): int {}
/* -----------------------------------------------------------------------*/
/* Returns the name of the function trace file */
/** @return mixed */
function xdebug_get_tracefile_name() {}
/* -----------------------------------------------------------------------*/
/* Show and retrieve diagnostic information */
/** @return mixed */
function xdebug_info(string $category = null) {}
/* -----------------------------------------------------------------------*/
/* Returns whether a debugging session is active */
function xdebug_is_debugger_active(): bool {}
/* -----------------------------------------------------------------------*/
/* Returns the current memory usage */
function xdebug_memory_usage(): int {}
/* -----------------------------------------------------------------------*/
/* Sends data to a debugging client */
function xdebug_notify(mixed $data): bool {}
/* -----------------------------------------------------------------------*/
/* Returns the peak memory usage */
function xdebug_peak_memory_usage(): int {}
/* -----------------------------------------------------------------------*/
/* Displays the current function stack */
/** @return void */
function xdebug_print_function_stack(string $message = "user triggered", int $options = 0) {}
/* -----------------------------------------------------------------------*/
/* Set filter */
/** @return void */
function xdebug_set_filter(int $group, int $listType, array $configuration) {}
/* -----------------------------------------------------------------------*/
/* Starts code coverage */
/** @return void */
function xdebug_start_code_coverage(int $options = 0) {}
/* -----------------------------------------------------------------------*/
/* Starts recording all notices, warnings and errors and prevents their display */
/** @return void */
function xdebug_start_error_collection() {}
/* -----------------------------------------------------------------------*/
/* Starts function monitoring */
/** @return void */
function xdebug_start_function_monitor(array $listOfFunctionsToMonitor) {}
/* -----------------------------------------------------------------------*/
/* Start the collection of garbage collection statistics */
/** @return mixed */
function xdebug_start_gcstats(?string $gcstatsFile = null) {}
/* -----------------------------------------------------------------------*/
/* Starts a new function trace */
function xdebug_start_trace(?string $traceFile = null, int $options = 0): ?string {}
/* -----------------------------------------------------------------------*/
/* Stops code coverage */
/** @return void */
function xdebug_stop_code_coverage(bool $cleanUp = true) {}
/* -----------------------------------------------------------------------*/
/* Stops recording of all notices, warnings and errors as started by <a href="/docs/all_functions#xdebug_start_error_collection">xdebug_start_error_collection()</a> */
/** @return void */
function xdebug_stop_error_collection() {}
/* -----------------------------------------------------------------------*/
/* Stops monitoring functions */
/** @return void */
function xdebug_stop_function_monitor() {}
/* -----------------------------------------------------------------------*/
/* Stops the current garbage collection statistics collection */
/** @return false|string */
function xdebug_stop_gcstats() {}
/* -----------------------------------------------------------------------*/
/* Stops the current function trace */
/** @return false|string */
function xdebug_stop_trace() {}
/* -----------------------------------------------------------------------*/
/* Returns the current time index */
function xdebug_time_index(): float {}
/* -----------------------------------------------------------------------*/
/* Displays detailed information about a variable */
/** @return void */
function xdebug_var_dump(mixed ...$variable) {}
/* -----------------------------------------------------------------------*/