You are here

function assertArrayNotHasKey in Zircon Profile 8

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

Asserts that an array does not have a specified key.

@since Method available since Release 3.0.0

Parameters

mixed $key:

array|ArrayAccess $array:

string $message:

File

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

Code

function assertArrayNotHasKey($key, $array, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertArrayNotHasKey', func_get_args());
}