for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by gerk on 30.11.17 05:44
*/
namespace PeekAndPoke\Component\Psi\Psi\Str;
*
* @author Karsten J. Gerber <[email protected]>
class IsContaining extends AbstractStringMatch
{
public function match($needle, $haystack)
$len = strlen($needle);
return $len > 0 && strpos($haystack, $needle) !== false;
}