Re: [PHP-DEV] php eating carriage returns?

2001-01-27 Thread Zeev Suraski
Yeah, it's the intended behavior - there was a discussion about it a few years ago... Zeev At 17:16 26/1/2001, Monte Ohrt wrote: example: This is a test ? print "testing1"; ? ? print "testing2"; ? ? print "testing3"; ? done. When I run this from the command line (4.0.5dev) I get

[PHP-DEV] php eating carriage returns?

2001-01-26 Thread Monte Ohrt
example: This is a test ? print "testing1"; ? ? print "testing2"; ? ? print "testing3"; ? done. When I run this from the command line (4.0.5dev) I get the following output: This is a test testing1testing2testing3 done. Why are there not carriage returns between the print

RE: [PHP-DEV] php eating carriage returns?

2001-01-26 Thread Sam Liddicott
-Original Message- From: Monte Ohrt [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 03:17 To: [EMAIL PROTECTED] Subject: [PHP-DEV] php eating carriage returns? example: This is a test ? print "testing1"; ? ? print "testing2";

Re: [PHP-DEV] php eating carriage returns?

2001-01-26 Thread Monte Ohrt
Got it. This is just causing problems with a templating system we're working on. E-mail templates are not coming out as expected. We'll work around it :) Cynic wrote: yes, this is as per the manual. the (optional) newline after a closing PHP tag ( ? ) is considered to be a part of the tag,