I was wondering what this means in laypersons:
pay attention to the end of lines. PHP uses its own function to parse input, so the Mac file will not work on Unix
An example of what this means will help.
The text can be found here, http://php.net/get_meta_tags under the file name parameters.
Different operating systems use different characters to indicate a carriage return or line. Take a look at this for more details.
The newline for Windows looks like this: \r\nand the new Unix line is displayed as \n.
\r\n
\n
, , . . , Mac OSX Unix. Windows Mac .
, HTML (, Windows), , (, Linux LAMP), . .
I just ran into a problem when the line endings of a Mac are not working. You can enable Unix line endings to work when reading a file by setting:
ini_set("auto_detect_line_endings", true);
Source: https://habr.com/ru/post/1791333/More articles:строка каретки возвращает из сериализации xml в F # - carriage-returnSQL ... How to update rows with data from other rows in one table? - sqlUnderstanding MVC Models - asp.net-mvcHow to get column names from a table returned from a stored procedure - c #Linq to SQL: DataTable.Rows [0] ["ColumnName"] equivalent - c #Find Connected IBAction in Builder Interface - iosWhy are my parameterized queries not working in ASP.NET? - .netContent type cannot be deleted. - content-typeTwo-column dynamic multi-line list floating elements - cssRead Positions in Umbraco Template Software - umbracoAll Articles