PHP CLI Application on Debian: why can't I output a line break?
        Posted  
        
            by Steffen Müller
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Steffen Müller
        
        
        
        Published on 2010-05-14T11:02:17Z
        Indexed on 
            2010/05/14
            11:04 UTC
        
        
        Read the original article
        Hit count: 334
        
Hello!
I have a really puzzling problem: I am writing a PHP CLI application running on a debian server. I am connected to the server via SSH, just the normal way. Everything runs as usual. Except the following:
echo "My CLI fun\n\n";
echo "Is this.";
Outputs on the SSH terminal, when executing the PHP script:
My CLI funIs this.
I am really puzzled as I have never had such a problem. The bash behaves normal in all other aspects. I already tried to output chr(10) and such, same problem.
Does anybody have a clue?
© Stack Overflow or respective owner