Lines Matching refs:string
21 protected $string; variable in PHPUnit_Framework_Constraint_StringMatches
24 * @param string $string
26 public function __construct($string) argument
28 parent::__construct($string);
31 preg_replace('/\r\n/', "\n", $string)
34 $this->string = $string;
44 $from = preg_split('(\r\n|\r|\n)', $this->string);
57 $this->string = implode("\n", $from);
62 return $differ->diff($this->string, $other);
65 protected function createPatternFromFormat($string) argument
67 $string = str_replace(
94 preg_quote($string, '/')
97 return '/^' . $string . '$/s';