[TYPO3-core] RFC #12066: Code cleanup: Add some constants

Oliver Klee typo3-german-02 at oliverklee.de
Thu Mar 4 18:14:05 CET 2010


Hi Frans,

Frans Saris schrieb:
> Why don't you use PHP_EOL ?
> 
> Easy to read, no quotes, no function call just native php.

PHP_EOL serves a different purpose (the end-of-line character for the
current OS).

The end-of-line constants introduced by the patch (CR, LF, CRLF) are
intended to be independent of the current OS.



Oliver
-- 
Certified TYPO3 Integrator | TYPO3 Security Team Member


More information about the TYPO3-team-core mailing list