]> granicus.if.org Git - php/commitdiff
Add note for short_open_tag
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 17 Oct 2002 09:49:47 +0000 (09:49 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 17 Oct 2002 09:49:47 +0000 (09:49 +0000)
# Assuming no objection for adding note in the manual.

php.ini-dist
php.ini-recommended

index 2994d302348eb7215c15520874d07c341afb06ea..34d3b86032afd93b99d6a121d8e4433e3a06a0b8 100644 (file)
 ; Enable the PHP scripting language engine under Apache.
 engine = On
 
-; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
+; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
 short_open_tag = On
 
 ; Allow ASP-style <% %> tags.
index d47b3f1aa920ca5fee2d310257676fdfa970f7c7..9b378fb96da117274b3ec0d9ebecc1ef471b8744 100644 (file)
 ; Enable the PHP scripting language engine under Apache.
 engine = On
 
-; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
+; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
+; NOTE: Using short tags should be avoided when developing applications or
+; libraries that are meant for redistribution, or deployment on PHP
+; servers which are not under your control, because short tags may not
+; be supported on the target server. For portable, redistributable code,
+; be sure not to use short tags.
 short_open_tag = On
 
 ; Allow ASP-style <% %> tags.