PHP 8.4.1 Released!

Die Klasse mysqli_sql_exception

(PHP 5, PHP 7, PHP 8)

Einführung

Die MySQLi-Fehlerbehandlungs-Klasse

Klassenbeschreibung

final class mysqli_sql_exception extends RuntimeException {
/* Eigenschaften */
protected string $sqlstate = "00000";
/* Geerbte Eigenschaften */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Methoden */
public getSqlState(): string
/* Geerbte Methoden */
public Exception::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)
final public Exception::getCode(): int
final public Exception::getFile(): string
final public Exception::getLine(): int
final public Exception::getTrace(): array
}

Eigenschaften

sqlstate

Der SQL-Status mit dem Fehler.

Inhaltsverzeichnis

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top