Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #18488
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | Re: PHP_EOL (was: preg_match() return false) |
| Date | Mon, 28 Dec 2020 15:43:48 +0100 |
| Lines | 22 |
| Message-ID | <i4u995FicpbU1@mid.individual.net> (permalink) |
| References | <rs9s7j$1vsr$1@gioia.aioe.org> <87im8n9scy.fsf@bsb.me.uk> <rsaag6$flf$1@gioia.aioe.org> <rsabtr$16ks$1@gioia.aioe.org> <877dp2adsw.fsf@bsb.me.uk> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net eAllXot11Sw5uwuxAfAFegCF27MC8fikI4cjhCrUS0wC/WA2pR |
| Cancel-Lock | sha1:inch20fnYIAYdvVKRcejVOuOwTA= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
| In-Reply-To | <877dp2adsw.fsf@bsb.me.uk> |
| Content-Language | en-US-large |
| Xref | csiph.com comp.lang.php:18488 |
Show key headers only | View raw
On 28/12/2020 03.02, Ben Bacarisse wrote: > alex <1j9448a02@lnx159sneakemail.com.invalid> writes: >> Of course, "\n" means the carriage return (PHP_EOL). carriage return is \r > "\n" means linefeed (sometimes called newline). PHP_EOL is often "\n" > but not always. PHP_EOL value depends on the default on the OS, in <5.6.30 version there was \r\n (microsoft windows), \r (MacOS/OSX), and \n (other OS:es) while later versions it's just \r\n (microsoft windows) and \n (other OS:es). PHP_EOL has limited use, as it follows the OS and not standards like e-mail headers. -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-27 12:47 +0100
Re: preg_match() return false tony@mountifield.org (Tony Mountifield) - 2020-12-27 12:50 +0000
Re: preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-27 14:21 +0100
Re: preg_match() return false Arno Welzel <usenet@arnowelzel.de> - 2020-12-27 14:43 +0100
Re: preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-27 14:59 +0100
Re: preg_match() return false Arno Welzel <usenet@arnowelzel.de> - 2020-12-28 15:16 +0100
Re: preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-27 15:11 +0100
Re: preg_match() return false Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-12-27 15:33 +0000
Re: preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-27 16:50 +0100
Re: preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-27 17:14 +0100
Re: preg_match() return false Ben Bacarisse <ben.usenet@bsb.me.uk> - 2020-12-28 02:02 +0000
Re: preg_match() return false alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-28 10:38 +0100
Re: PHP_EOL (was: preg_match() return false) "J.O. Aho" <user@example.net> - 2020-12-28 15:43 +0100
Re: PHP_EOL alex <1j9448a02@lnx159sneakemail.com.invalid> - 2020-12-29 15:55 +0100
csiph-web