Re: PHP Tag question
| From: | Pushkar Pradhan | Date: | Wed, 15 May 2002 20:49:35 +0000 |
| Subject: | Re: PHP Tag question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97813@lists.php.net to get a copy of this message | ||
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