Re: too much trimming
| From: | Gerben | Date: | Thu, 18 Mar 2004 18:32:44 +0000 |
| Subject: | Re: too much trimming | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181020@lists.php.net to get a copy of this message | ||
you need to add an space after "?>" for to output the newline after it.
"Ivan Sergio Borgonovo" <mail@webthatworks.it> wrote in message
news:20040318182137.68ef5fe6@stige.webthatworks.it...
> I've simple code like this:
>
> -- begin --
> #!/usr/bin/php -q
> <?
> $pippo='goofy'
> ?>
>
> hey my name is <?= $pippo ?>
> and
> I feel good
> -- end --
>
> I would expect this output:
>
> -- begin --
>
> hey my name is goofy
> and
> I feel good
> -- end --
>
> but I obtain this:
> -- begin --
>
> hey my name is goofy and
> I feel good
> -- end --
>
> Lines are indented with tabs.
> I suspect something related to -w flag, but I haven't been able to
> switch this behaviour off.
>
> thx