you need to add an space after "?>" for to output the newline after it.


"Ivan Sergio Borgonovo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to