Re: EOL removed after ?>

From: Date: Thu, 10 Mar 2011 18:30:26 +0000
Subject: Re: EOL removed after ?>
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-51664@lists.php.net to get a copy of this message
ok, I think I got it. so you think it's safe to include an empty new line after a line that ends with ?> ? Martin Scotta On Thu, Mar 10, 2011 at 1:59 PM, Hannes Landeholm <landeholm@gmail.com>wrote: > http://brian.moonspot.net/php-history-newline-closing-tag > > ~Hannes > > On 10 March 2011 17:42, Martin Scotta <martinscotta@gmail.com> wrote: > > > > hi all, > > > > <pre> > > 1 <?php ; ?>1 > > 2 2 > > 3 <?php ; ?>3 > > </pre> > > > > <pre> > > 1 1<?php ; ?> > > 2 2 > > 3 3<?php ; ?> > > </pre> > > > > First try works... but second fails > > > > output: > > > > 1 1 > > 2 2 > > 3 3 > > > > 1 12 2 > > 3 3 > > > > is this the expected behavior? > > > > Martin Scotta >

« previous php.internals (#51664) next »