public function test($compare) { return strpos($compare, $this->substring) !== false; }
/** * Tests the expectation. False if the substring appears * in the text. * @param string $compare Comparison value. * @return boolean True if correct. * @access public */ function test($compare) { return !parent::test($compare); }