Re: <? PHP vs. <?
| From: | Thomas Deliduka | Date: | Wed, 17 Jan 2001 23:22:13 +0000 |
| Subject: | Re: <? PHP vs. <? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35205@lists.php.net to get a copy of this message | ||
You know, this means that ALL of my hundreds of pages over multiple sites
would break. That's really sad.
I just think it's hard (to remember) when I have code like:
<A HREF="filename.php?var=<? echo $thevar ?>">this link</A>
to put in the 'php' there. It's so much easier just to code with short tags.
(although I have a program that can work in every app that will trap <? and
replace it with <?php everytime I type it. I could utilize that. (I love
Macs... and Spell Catcher.)
On 1/17/01 2:48 PM this was written:
> Ye 2001-01-17 13:54 -0500, Toby Butzon skribis:
>
>>>> Is PHP the implied script, so that it is okay to begin PHP code like
>> this <?
>>>> vs. like this <?php
>>>> When is it not implied?
>>>
>>> You should use <?php. In future versions the open short tag would be
>>> dropped or your administrator can disable the open short tag.
>>
>> Are there in fact plans to drop the short tags?
>
> Short open tags won't work with xml. Therefore they won't work with
> xhtml. They conflict with where the Web is going.
>
> Thus, they have already been dropped. You don't _need_ them. Stay
> away from them.
--
Thomas Deliduka
IT Manager
-------------------------
New Eve Media
The Solution To Your Internet Angst
http://www.neweve.com/