PHP 8.5.10 Released!

Uri\WhatWg\InvalidUrlException::__construct

(PHP 8 >= 8.5.0)

Uri\WhatWg\InvalidUrlException::__constructConstruit un objet InvalidUrlException

Description

public function Uri\WhatWg\InvalidUrlException::__construct(
    string $message = "",
    array $errors = [],
    int $code = 0,
    ?Throwable $previous = null
)

Construit un objet Uri\WhatWg\InvalidUrlException.

Liste de paramètres

message

Le message de l'exception.

errors

Un tableau d'objets Uri\WhatWg\UrlValidationError.

code

Le code de l'exception.

previous

L'exception précédente utilisée pour le chaînage d'exceptions.

add a note

User Contributed Notes

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