Re: Newline
| From: | hochprior | Date: | Tue, 30 Oct 2007 16:12:28 +0000 |
| Subject: | Re: Newline | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263823@lists.php.net to get a copy of this message | ||
"Nathan Nobbe" wrote:
On 10/29/07, Crayon Shin Chan <crayon.shin.chan.uk@gmail.com> wrote:Thanks for that Nathan! I didn`t know that constant. Using that looks pretty neat in my eyes. -- Kind regards, hochpriorOn Sunday 28 October 2007, magoo wrote:if you were going to do that you may as well use PHP_EOL its cross-platform and doesnt require an define directive. (php5 only)I have switched to using single quotes, and found out that newline (\n) only works in double quotes. It looks kind of stupid using 'someString'."\n"; and it`s kind of inconsistent using double quotes for some lines like "someString\n";.