Re: PHP_EOL exposed to scripts?
| From: | Andi Gutmans | Date: | Thu, 12 Aug 2004 21:11:22 +0000 |
| Subject: | Re: PHP_EOL exposed to scripts? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12141@lists.php.net to get a copy of this message | ||
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. Andi