Re: Discourage use of short tags
| From: | Rasmus Lerdorf | Date: | Fri, 26 Apr 2002 21:56:23 +0000 |
| Subject: | Re: Discourage use of short tags | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83400@lists.php.net to get a copy of this message | ||
Please qualify this correctly. There is nothing wrong with using
short-tags for code that is always going to live on servers you have full
control over. Simply explain the drawbacks instead of this scare tactic.
And no, it is not an obsolete feature that is going to go away.
-Rasmus
On Sat, 27 Apr 2002, Yasuo Ohgaki wrote:
> I've changed basic-syntax.xml a little. The manual
> list short tag first, even if it recommends <?php tag.
>
> Anyway, I would like to add something like
>
> <note>
> <para>
> Use of short tag is strongly discouraged. It not only
> non-portable and non-XML compliant, but also a obsolete feature.
> </para>
> </note>
>
> There are too many hosting services that enable short tag by
> default. In many case, user cannot do anything..
>
> Any comments?
>
> --
> Yasuo Ohgaki
>
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>