Re: carriage returns using error_log?

From: Date: Tue, 22 Mar 2005 00:20:01 +0000
Subject: Re: carriage returns using error_log?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-211232@lists.php.net to get a copy of this message
> Heh... no, I was already using double quotes. I also tried using actual > carriage returns in the string, that didn't work either. > > Is error_log simply incapable of obeying carriage returns within the > error string? It works for me, but if it's not working for you... function my_error_log($text){ $lines = explode("\n"); while (list(, $line) = each($lines)) error_log($line); } [shrug] -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#211232) next »