protected function replaceSpecialChars($input)
	{
		if(is_array($input))
		{
			$result = [];
			
			foreach($input as $k => $v)
			{
				$result[$k] = $this->replaceSpecialChars($v);
			}
			
			return $result;
		}
		
		return strtr($input, [
			'\n' => "\n",
			'\t' => "\t"
		]);
	}
protected function replaceSpecialChars($input)
	{
		if(is_array($input))
		{
			$result = [];
			
			foreach($input as $k => $v)
			{
				$result[$k] = $this->replaceSpecialChars($v);
			}
			
			return $result;
		}
		
		return strtr($input, [
			'\n' => "\n",
			'\t' => "\t"
		]);
	}
protected function replaceSpecialChars ( $ input ) { if ( is_array ( $ input ) ) { $ result = [ ] ; foreach ( $ input as $ k => $ v ) { $ result [ $ k ] = $ this -> replaceSpecialChars ( $ v ) ; } return $ result ; } return strtr ( $ input , [ '\n' => "\n" , '\t' => "\t" ] ) ; }
Recursively replaces special escape characters for line breaks and tabs with according characters.

@param mixed $input
@return mixed
Recursively replaces special escape characters for line breaks and tabs with according characters .