Yes <?php= work? definitely doesn't work.
> I believe he was talking about
>
> <?=$var?> vs. <? echo $var ?>
>
> not <? vs. <?php
>
> I don't know of any way to disable <?=, but it is dependant on short_tags
> being on. Does <?php= work? I doubt it...
>
> ---John Holmes...
> ----- Original Message -----
> From: "Pushkar Pradhan" <[EMAIL PROTECTED]>
> To: "Matthew Walker" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 15, 2002 4:49 PM
> Subject: Re: [PHP] PHP Tag question
>
>
> > You can tell that from the php.ini file look for:
> >
> > ; Allow the <? tag.  Otherwise, only <?php and <script> tags are
> > recognized.
> > short_open_tag = On
> >
> > So basically you can switch them on/off.
> >
> > On Wed, 15 May 2002, Matthew Walker wrote:
> >
> > > I'm writing a coding standards document for our programmers, and I need
> > > to know if the 'echo' shortcut PHP tags are always on, or if we need to
> > > assume they might not be on.
> > >
> > > (By echo shortcut, I mean this syntax: <?=$variable?>)
> > >
> > > Matthew Walker
> > > Senior Software Engineer
> > > ePliant Marketing
> > >
> > >
> > >
> > > ---
> > > Outgoing mail is certified Virus Free.
> > > Checked by AVG anti-virus system (http://www.grisoft.com).
> > > Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> > -Pushkar S. Pradhan
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-Pushkar S. Pradhan


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

Reply via email to