(PHP 4, PHP 5, PHP 7)
Checks if assertion is FALSE
bool assert ( mixed $assertion [, string $description ] )
PHP 5
PHP 7
bool assert ( mixed $assertion [, Throwable $exception ] )
assert() will check the given assertion and take appropriate action if its result is FALSE.
Traditional assertions (PHP 5 and 7) If the assertion is given as a string it will be evaluated as PHP code by assert(). The advantages of a string asse