DIRECTORY_SEPARATOR\PHP_EOL\EOF
换行符unix系列用 \nwindows系列用 \r\nmac用 \rPHP中可以用PHP_EOL来替代,以提高代码的源代码级可移植性PHP_EOL : The correct 'End Of Line' symbol for this platform.自 PHP 5.0.2 起可用<?php echo PHP_EOL; //windows平台相当于 echo "\r...
原创
2018-07-02 18:55:25 ·
295 阅读 ·
0 评论