StringMatches.php Interfaces, Classes and Traits PHPUnit_Framework_Constraint_StringMatches Constraint that asserts that the string it is evaluated for matches a regular expression.