php换行符时间:2023-03-09 20:39:31 1.需求 统一php换行符 2.实践 使用PHP_EOL替换换行符,保证平台的兼容性。 类似的有DIRECTORY_SEPARATOR 参考文档:http://www.cnblogs.com/codefor/archive/2011/06/18/2084300.html