<?php
#===============================================================================
# Remove line breaks and tabs from a string
#===============================================================================
function removeLineBreaksAndTabs($string) {
	return str_replace(["\r\n", "\r", "\n", "\t"], NULL, $string);
}
?>
<?php
#===============================================================================
# Remove line breaks and tabs from a string
#===============================================================================
function removeLineBreaksAndTabs($string) {
	return str_replace(["\r", "\n", "\t"], NULL, $string);
}
?>
Remove superfluous item from pattern array
Remove superfluous item from pattern array

The string "\r\n" within the search array is superfluous because it is already covered by the single "\r" and "\n".
