You are here

function assertNotContains in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertNotContains()

Asserts that a haystack does not contain a needle.

@since Method available since Release 2.1.0

Parameters

mixed $needle:

mixed $haystack:

string $message:

bool $ignoreCase:

bool $checkForObjectIdentity:

bool $checkForNonObjectIdentity:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 956

Code

function assertNotContains($needle, $haystack, $message = '', $ignoreCase = false, $checkForObjectIdentity = true, $checkForNonObjectIdentity = false) {
  return call_user_func_array('PHPUnit_Framework_Assert::assertNotContains', func_get_args());
}