protected function containsSpecialChars($input)
    {
        $special_chars = str_split($this->lineTerminator, 1);
        $special_chars[] = $this->quotechar;
        $special_chars[] = $this->delimiter;
        foreach ($special_chars as $char) {
            if (strpos($input, $char) !== false) {
                return true;
            }
        }

        return false;
    }
protected function containsSpecialChars($input)
    {
        $special_chars = str_split($this->lineTerminator, 1);
        $special_chars[] = $this->quotechar;
        $special_chars[] = $this->delimiter;
        foreach ($special_chars as $char) {
            if (strpos($input, $char) !== false) {
                return true;
            }
        }

        return false;
    }
protected function containsSpecialChars ( $ input ) { $ special_chars = str_split ( $ this -> lineTerminator , 1 ) ; $ special_chars [ ] = $ this -> quotechar ; $ special_chars [ ] = $ this -> delimiter ; foreach ( $ special_chars as $ char ) { if ( strpos ( $ input , $ char ) !== false ) { return true ; } } return false ; }
Returns true if input contains quotechar, delimiter or any of the characters in lineTerminator

@param string $input A single value to be checked for special characters

@return boolean True if contains any special characters
Returns true if input contains quotechar delimiter or any of the characters in lineTerminator