Re: PHP_EOL exposed to scripts?

From: Date: Fri, 13 Aug 2004 07:23:48 +0000
Subject: Re: PHP_EOL exposed to scripts?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-12145@lists.php.net to get a copy of this message
On Thu, 12 Aug 2004, Andi Gutmans wrote: > At 09:23 AM 8/12/2004 +0200, Derick Rethans wrote: > >On Wed, 11 Aug 2004, Andi Gutmans wrote: > > > > > I think it's a good idea. Personally I think that making this EOL would > > > make it even easier to use. > > > >We can't do that because I bet it's a constant that many people have > >done in their own scripts. So IMO PHP_EOL is the way to go. > > You have a point that probably many people already have EOL defined. Well I > guess that if someone doesn't like the "too" verbose PHP_EOL they can > always re-define it to EOL in their prepend. Most important is that this > constant exists as it's very useful. > > >I already patch 5.0.x and 5.1.x for this, just need to commit it (when I > >hear more opinions of course). > > Sounds good to me. Committed for 5.0.2 and 5.1.0 Derick

« previous php.internals (#12145) next »