Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16898

Re: echo "<br>" wouldn't print a new line

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: echo "<br>" wouldn't print a new line
Date Sun, 31 Jul 2016 15:28:41 +0200
Organization solani.org
Lines 18
Message-ID <nnkudi$s2d$1@solani.org> (permalink)
References <83e11700-3227-43a8-bf36-ab77004976e6@googlegroups.com> <cdc3e273-c515-bf32-628d-50e748d9b9fd@arnowelzel.de> <nn2phv$1dtj$1@gioia.aioe.org> <nniq4r$phe$1@dont-email.me> <579de060$0$900$e4fe514c@news.xs4all.nl>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1469971698 28749 eJwNxccBwDAIBLCVTDnA42DK/iMk+ghiZOVqMMVi84X73mmkDm5Tvi632nOFKcQu8ZZx05waSkmwQk13OCj+i2kJtr3cePGQ3b6HWQgsH6/5Hk8= (31 Jul 2016 13:28:18 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 31 Jul 2016 13:28:18 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
In-Reply-To <579de060$0$900$e4fe514c@news.xs4all.nl>
X-NNTP-Posting-Host eJwFwQkBwDAIA0BLjCY8coAW/xJ2x2OfjcNo4HI9ubbJcFysAu9jPEXztFY8G8rp9AvtnB2/cyI9HhkjVmPZfds+taJsXlSidNtLWogff7weQw==
X-User-ID eJwNwYEBwCAIA7CXLBQY52xo/z/BJeGJnGJGMhSyE9ByapdNP0BxtbOXqYt454R+qE8DcV8I6hEL
Xref csiph.com comp.lang.php:16898

Show key headers only | View raw


On 31.07.2016 at 13:28, R.Wieser wrote:

> And pardon me, but what a sh*tty PHP.NET description/explanation: I
> initially regarded that "this platform" as referring to the server the PHP
> code would be running on, and only a further search for what-the-heck it
> would than be good for caused me to realize that that it was ment to refer
> the one the *browser* would be running in.

The PHP constant PHP_EOL is defined to be identical to the C constant
PHP_EOL[1], which is set during *compile* time depending on whether the
build happens on Windows or not[2].  So the PHP manual appears to be
correct here.

[1] <https://github.com/php/php-src/blob/PHP-7.0.9/main/main.c#L2137>
[2] <https://github.com/php/php-src/blob/PHP-7.0.9/main/php.h#L48-L67>

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

echo "<br>" wouldn't print a new line Alla <modelling.data@gmail.com> - 2016-07-04 03:06 -0700
  Re: echo "<br>" wouldn't print a new line "R.Wieser" <address@not.available> - 2016-07-04 12:14 +0200
  Re: echo "<br>" wouldn't print a new line "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-04 12:19 +0200
    Re: echo "<br>" wouldn't print a new line Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-05 21:43 +0200
      Re: echo "<br>" wouldn't print a new line "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-06 13:49 +0200
        Re: echo "<br>" wouldn't print a new line Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-07-06 20:57 +0200
  Re: echo "<br>" wouldn't print a new line Alla <modelling.data@gmail.com> - 2016-07-04 09:38 -0700
  Re: echo "<br>" wouldn't print a new line Tim Streater <timstreater@greenbee.net> - 2016-07-04 12:30 +0100
  Re: echo "<br>" wouldn't print a new line Arno Welzel <usenet@arnowelzel.de> - 2016-07-09 17:43 +0200
    Re: echo "<br>" wouldn't print a new line Sebastiaan Kop <sebastiaan@famkop.nl> - 2016-07-24 16:14 +0000
      Re: echo "<br>" wouldn't print a new line Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-07-30 14:03 -0400
        Re: echo "<br>" wouldn't print a new line Jivanmukta <jivanmukta@poczta.onet.pl> - 2016-07-30 20:08 +0200
          Re: echo "<br>" wouldn't print a new line Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2016-07-30 17:18 -0400
        Re: echo "<br>" wouldn't print a new line "R.Wieser" <address@not.available> - 2016-07-31 13:28 +0200
          Re: echo "<br>" wouldn't print a new line "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-07-31 15:28 +0200
            Re: echo "<br>" wouldn't print a new line "R.Wieser" <address@not.available> - 2016-07-31 17:38 +0200
              Re: echo "<br>" wouldn't print a new line "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-08-01 14:57 +0200
                Re: echo "<br>" wouldn't print a new line "R.Wieser" <address@not.available> - 2016-08-01 15:18 +0200
      Re: echo "<br>" wouldn't print a new line "J.O. Aho" <user@example.net> - 2016-07-31 08:17 +0200

csiph-web