assert()
assert - Checks if assertion is
FALSE
Syntax
bool assert (
mixed $assertion)
Arguments
- assertion - The assertion.
Description
assert() will check the given assertion and take appropriate action if its result is FALSE.
Version
PHP 4, 5
Return value
FALSE if the assertion is false, TRUE otherwise.