phpday 2027 - Call for Papers

Error::__construct

(PHP 7, PHP 8)

Error::__construct — Construir el objeto error

Descripción

public function Error::__construct(string $message = "", int $code = 0, ?Throwable $previous = null)

Construye el Error.

Parámetros

message

El mensaje de error.

code

El código de error.

previous

El objeto Throwable anterior empleado para la cadena de excepciones.

Notas

Nota:

El parámetro message NO es seguro a nivel binario.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top