php-internal-docs
8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_exceptions.stub.php
Go to the documentation of this file.
1
<?php
2
4
5
require
"zend_constants.stub.php"
;
6
7
interface
Throwable
extends
Stringable
8
{
9
public
function
getMessage
(): string;
10
12
public
function
getCode
();
// TODO add proper type (i.e. int|string)
13
14
public
function
getFile
(): string;
15
16
public
function
getLine
(): int;
17
18
public
function
getTrace
(): array;
19
20
public
function
getPrevious
(): ?
Throwable
;
21
22
public
function
getTraceAsString
(): string;
23
}
24
25
class
Exception
implements
Throwable
26
{
31
protected
$message
=
""
;
32
private
string
$string =
""
;
37
protected
$code
= 0;
// TODO add proper type (i.e. int|string)
38
protected
string
$file
=
""
;
39
protected
int
$line
= 0;
40
private
array $trace = [];
41
private
?
Throwable
$previous =
null
;
42
43
private
function
__clone():
void
{}
44
45
public
function
__construct
(string
$message
=
""
, int
$code
= 0, ?
Throwable
$previous = null) {}
46
48
public
function
__wakeup
():
void
{}
49
50
final public
function
getMessage
(): string {}
51
53
final public
function
getCode
() {}
// TODO add proper type (i.e. int|string)
54
55
final
public
function
getFile
(): string {}
56
57
final public
function
getLine
(): int {}
58
59
final public
function
getTrace
(): array {}
60
61
final public
function
getPrevious
(): ?
Throwable
{}
62
63
final public
function
getTraceAsString
(): string {}
64
65
public
function
__toString
(): string {}
66
}
67
68
class
ErrorException
extends
Exception
69
{
70
protected
int
$severity
=
E_ERROR
;
71
72
public
function
__construct
(
73
string
$message
=
""
,
74
int
$code
= 0,
75
int
$severity
=
E_ERROR
,
76
?
string
$filename
=
null
,
77
?
int
$line
=
null
,
78
?
Throwable
$previous =
null
79
) {}
80
81
final
public
function
getSeverity
(): int {}
82
}
83
84
class
Error
implements
Throwable
85
{
90
protected
$message
=
""
;
91
private
string
$string =
""
;
96
protected
$code
= 0;
// TODO add proper type (i.e. int|string)
97
protected
string
$file
=
""
;
98
protected
int
$line
;
99
private
array $trace = [];
100
private
?
Throwable
$previous =
null
;
101
103
private
function
__clone():
void
{}
104
106
public
function
__construct
(string
$message
=
""
, int
$code
= 0, ?
Throwable
$previous = null) {}
107
112
public
function
__wakeup
():
void
{}
113
115
final public
function
getMessage
(): string {}
116
121
final public
function
getCode
() {}
122
124
final
public
function
getFile
(): string {}
125
127
final public
function
getLine
(): int {}
128
130
final public
function
getTrace
(): array {}
131
133
final public
function
getPrevious
(): ?
Throwable
{}
134
136
final public
function
getTraceAsString
(): string {}
137
139
public
function
__toString
(): string {}
140
}
141
142
class
CompileError
extends
Error
143
{
144
}
145
146
class
ParseError
extends
CompileError
147
{
148
}
149
150
class
TypeError
extends
Error
151
{
152
}
153
154
class
ArgumentCountError
extends
TypeError
155
{
156
}
157
158
class
ValueError
extends
Error
159
{
160
}
161
162
class
ArithmeticError
extends
Error
163
{
164
}
165
166
class
DivisionByZeroError
extends
ArithmeticError
167
{
168
}
169
170
class
UnhandledMatchError
extends
Error
171
{
172
}
173
174
class
RequestParseBodyException
extends
Exception
175
{
176
}
ArgumentCountError
Definition
zend_exceptions.stub.php:155
ArithmeticError
Definition
zend_exceptions.stub.php:163
CompileError
Definition
zend_exceptions.stub.php:143
DivisionByZeroError
Definition
zend_exceptions.stub.php:167
ErrorException
Definition
zend_exceptions.stub.php:69
ErrorException\getSeverity
getSeverity()
Definition
zend_exceptions.stub.php:81
ErrorException\__construct
__construct(string $message="", int $code=0, int $severity=E_ERROR, ?string $filename=null, ?int $line=null, ?Throwable $previous=null)
Definition
zend_exceptions.stub.php:72
ErrorException\$severity
int $severity
Definition
zend_exceptions.stub.php:70
Error
Definition
zend_exceptions.stub.php:85
Error\getCode
getCode()
Definition
zend_exceptions.stub.php:121
Error\$file
string $file
Definition
zend_exceptions.stub.php:97
Error\getLine
getLine()
Definition
zend_exceptions.stub.php:127
Error\getTrace
getTrace()
Definition
zend_exceptions.stub.php:130
Error\__wakeup
__wakeup()
Definition
zend_exceptions.stub.php:112
Error\getMessage
getMessage()
Definition
zend_exceptions.stub.php:115
Error\$message
$message
Definition
zend_exceptions.stub.php:90
Error\getPrevious
getPrevious()
Definition
zend_exceptions.stub.php:133
Error\$line
int $line
Definition
zend_exceptions.stub.php:98
Error\$code
$code
Definition
zend_exceptions.stub.php:96
Error\__construct
__construct(string $message="", int $code=0, ?Throwable $previous=null)
Definition
zend_exceptions.stub.php:106
Error\__toString
__toString()
Definition
zend_exceptions.stub.php:139
Error\getTraceAsString
getTraceAsString()
Definition
zend_exceptions.stub.php:136
Error\getFile
getFile()
Definition
zend_exceptions.stub.php:124
Exception
Definition
zend_exceptions.stub.php:26
Exception\getCode
getCode()
Definition
zend_exceptions.stub.php:53
Exception\__construct
__construct(string $message="", int $code=0, ?Throwable $previous=null)
Definition
zend_exceptions.stub.php:45
Exception\$file
string $file
Definition
zend_exceptions.stub.php:38
Exception\__wakeup
__wakeup()
Definition
zend_exceptions.stub.php:48
Exception\$line
int $line
Definition
zend_exceptions.stub.php:39
Exception\__toString
__toString()
Definition
zend_exceptions.stub.php:65
Exception\getTrace
getTrace()
Definition
zend_exceptions.stub.php:59
Exception\getPrevious
getPrevious()
Definition
zend_exceptions.stub.php:61
Exception\getFile
getFile()
Definition
zend_exceptions.stub.php:55
Exception\getLine
getLine()
Definition
zend_exceptions.stub.php:57
Exception\$message
$message
Definition
zend_exceptions.stub.php:31
Exception\$code
$code
Definition
zend_exceptions.stub.php:37
Exception\getMessage
getMessage()
Definition
zend_exceptions.stub.php:50
Exception\getTraceAsString
getTraceAsString()
Definition
zend_exceptions.stub.php:63
ParseError
Definition
zend_exceptions.stub.php:147
RequestParseBodyException
Definition
zend_exceptions.stub.php:175
TypeError
Definition
zend_exceptions.stub.php:151
UnhandledMatchError
Definition
zend_exceptions.stub.php:171
ValueError
Definition
zend_exceptions.stub.php:159
$filename
$filename
Definition
create.php:9
Stringable
Definition
zend_interfaces.stub.php:65
Throwable
Definition
zend_exceptions.stub.php:8
Throwable\getCode
getCode()
Throwable\getTrace
getTrace()
Throwable\getPrevious
getPrevious()
Throwable\getFile
getFile()
Throwable\getMessage
getMessage()
Throwable\getLine
getLine()
Throwable\getTraceAsString
getTraceAsString()
E_ERROR
#define E_ERROR
Definition
zend_errors.h:23
void
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function
function(EX_VAR(opline->result.var))
Zend
zend_exceptions.stub.php
Generated on Sat Aug 23 2025 01:46:14 for php-internal-docs by
1.13.2