The behaviour of these functions is affected by settings in php.ini.
INI_ALL
Here's a short explanation of the configuration directives.
phpdbg.eol
The kind of line ending to use for output. For setting the value, one of the string aliases must be used.
0
CRLF
crlf
DOS
dos
1
LF
lf
UNIX
unix
2
CR
cr
MAC
mac
phpdbg.path