You are here

function assertStringStartsWith in Zircon Profile 8

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

Asserts that a string starts with a given prefix.

@since Method available since Release 3.4.0

Parameters

string $prefix:

string $string:

string $message:

File

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

Code

function assertStringStartsWith($prefix, $string, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertStringStartsWith', func_get_args());
}