public static function minifyString( $string )
	{
		$string = str_replace( PHP_EOL , ' ' , $string );
		$string = preg_replace( '/[\r\n]+/' , "\n" , $string );

		return preg_replace( '/[ \t]+/' , ' ' , $string );
	}
public static function minifyString( $string )
	{
		$string = str_replace( PHP_EOL , ' ' , $string );
		$string = preg_replace( '/[\r\n]+/' , "\n" , $string );

		return preg_replace( '/[ \t]+/' , ' ' , $string );
	}
public static function minifyString ( $ string ) { $ string = str_replace ( PHP_EOL , ' ' , $ string ) ; $ string = preg_replace ( '/[\r\n]+/' , "\n" , $ string ) ; return preg_replace ( '/[ \t]+/' , ' ' , $ string ) ; }
Remove all whitesapces, line-breaks, and tabs from string for better regex recognition

@param $string

@return string
Remove all whitesapces line - breaks and tabs from string for better regex recognition