AssertionError

(PHP 7)

Introduction

AssertionError is thrown when an assertion made via assert() fails.

Synopsis de la classe

AssertionError extends Error {
/* Propriétés héritées */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
/* Méthodes héritées */
final public string Error::getMessage ( void )
final public Throwable Error::getPrevious ( void )
final public mixed Error::getCode ( void )
final public string Error::getFile ( void )
final public int Error::getLine ( void )
final public array Error::getTrace ( void )
final public string Error::getTraceAsString ( void )
public string Error::__toString ( void )
final private void Error::__clone ( void )
}
add a note add a note

User Contributed Notes

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