You are here

function arrayHasKey in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_ArrayHasKey matcher object.

@since Method available since Release 3.0.0

Parameters

mixed $key:

Return value

PHPUnit_Framework_Constraint_ArrayHasKey

File

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

Code

function arrayHasKey($key) {
  return call_user_func_array('PHPUnit_Framework_Assert::arrayHasKey', func_get_args());
}