Re: cvs: php4 / php.ini-dist php.ini-recommended
| From: | Rasmus Lerdorf | Date: | Fri, 26 Apr 2002 22:31:13 +0000 |
| Subject: | Re: cvs: php4 / php.ini-dist php.ini-recommended | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83402@lists.php.net to get a copy of this message | ||
This is illogical.
It will break reams of code out there. People who have happily written
code without any intention of distributing it will now deploy new servers
and not have their code work. We will get slammed with questions.
Second, it is only a factor in very few cases. Very few people are going
to parse their PHP code through an XML parser. The people who do so are
very capable of turning off short_tags. Likewise for the people who write
PHP code that they re-distribute. These are the people who know enough to
use the longer tag style.
Please revert.
-Rasmus
On Fri, 26 Apr 2002, Jani Taskinen wrote:
> sniper Fri Apr 26 19:20:07 2002 EDT
>
> Modified files:
> /php4 php.ini-dist php.ini-recommended
> Log:
> Default setting for short_open_tag is better be Off.
>
> Index: php4/php.ini-dist
> diff -u php4/php.ini-dist:1.123 php4/php.ini-dist:1.124
> --- php4/php.ini-dist:1.123 Fri Apr 19 03:13:55 2002
> +++ php4/php.ini-dist Fri Apr 26 19:20:06 2002
> @@ -68,7 +68,7 @@
> engine = On
>
> ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
> -short_open_tag = On
> +short_open_tag = Off
>
> ; Allow ASP-style <% %> tags.
> asp_tags = Off
> Index: php4/php.ini-recommended
> diff -u php4/php.ini-recommended:1.76 php4/php.ini-recommended:1.77
> --- php4/php.ini-recommended:1.76 Tue Apr 23 21:51:12 2002
> +++ php4/php.ini-recommended Fri Apr 26 19:20:06 2002
> @@ -81,7 +81,7 @@
> engine = On
>
> ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
> -short_open_tag = On
> +short_open_tag = Off
>
> ; Allow ASP-style <% %> tags.
> asp_tags = Off
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>