Re: <?php= ?> sytanx again

From: Date: Fri, 09 Nov 2001 14:54:18 +0000
Subject: Re: <?php= ?> sytanx again
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69881@lists.php.net to get a copy of this message

It's not only because of xml stuff but also because of
the portability reasons..not everyone has short-tags enabled.

Would it be that most of the people who have them enabled do that
just because <?php= doesn't work..?

+1 for <?php= if those short-tags are deprecated. :)

--Jani


On Fri, 9 Nov 2001, Edin Kadribasic wrote:

>> > Combine that with incompatibility of PHP's short open tag with XML, and
>the
>> > reason for having <?php= becomes clearer.
>>
>> As Rasmus is probably tired of pointing out, this isn't much of an
>argument.
>> This:
>>
>> if ($i < 4) {
>>     ...
>>
>> is incompatible with XML (it'd have to be if ($i &lt; 4) ...)
>
>That's not what I'm talking about. Last time I tried
>
><?xml ...
>
>with short open tag enabled, PHP gave me parse error.
>
>Edin
>
>
>



Thread (57 messages)

« previous php.dev (#69881) next »