RE: [PHP-DEV] dropping asp_tags in HEAD
| From: | Uwe Schindler | Date: | Sat, 14 Apr 2007 16:13:23 +0000 |
| Subject: | RE: [PHP-DEV] dropping asp_tags in HEAD | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-28819@lists.php.net to get a copy of this message | ||
I use <?=...?>, too, because is much more readable in templates. On the
other hand I would like to disable short-tags without losing this feature!
So my +1 for a change here!
-----
Uwe Schindler
thetaphi@php.net - http://www.php.net
NSAPI SAPI developer
Bremen, Germany
> Sent: Saturday, April 14, 2007 6:02 PM
> To: Stut
> Cc: Bart de Boer; internals@lists.php.net; Tijnema !; ceo@l-i-e.com; Chad
> Daelhousen; Ron Korving
> Subject: Re: [PHP-DEV] dropping asp_tags in HEAD
>
> If you plan to go far and remove the <? tags, so I suggest to include
> a <?php=$something?> into PHP.
>
>
> Best regards,
>
> On 4/14/07, Stut <stuttle@gmail.com> wrote:
> > Bart de Boer wrote:
> > > I think ASP tags should go too... Simply because it's not standards
> > > compliant and I think it's good if people are forced to make nice
> > > standards compliant documents... I'd even go so far as to favor
> dropping
> > > short tags too...
> > >
> > > <? echo "<?xml version=\"1.0\" encoding=\"UTF-8\"
> > > ?>\n"; ?>
> > >
> > > What a mess!...
> >
> > I agree, but I do like the <?= tag. Personally I would like to see short
> > tags dropped but retain support for <?= as it makes templates a lot
> > easier to read, i.e. <?=$var?> against <?php print $var; ?>.
> >
> > -Stut
> >
>
>
> --
> Guilherme Blanco - Web Developer
> CBC - Certified Bindows Consultant
> Cell Phone: +55 (16) 9166-6902
> MSN: guilhermeblanco@hotmail.com
> URL: http://blog.bisna.com
> São Carlos - SP/Brazil