com php-src: Tinker with the wording of the short_open_tag description.: php.ini-development php.ini-produc tion

From: Date: Wed, 16 Oct 2013 08:34:30 +0000
Subject: com php-src: Tinker with the wording of the short_open_tag description.: php.ini-development php.ini-produc tion
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73529@lists.php.net to get a copy of this message
Commit: 04c823d28754ba146d137be8c769c96b909f02f9 Author: Adam Harvey <aharvey@php.net> Mon, 9 Sep 2013 16:56:57 -0700 Committer: Anatol Belski <ab@php.net> Wed, 16 Oct 2013 01:34:30 -0700 Parents: 5c50e69814818e581369df0e0573414cf161accc Branches: str_size_and_int64 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=04c823d28754ba146d137be8c769c96b909f02f9 Log: Tinker with the wording of the short_open_tag description. I'm still not thrilled with this, but it's a bit better and addresses the issues noted in bug #65644. Plus, it now mentions the decoupling of <?=. Bugs: https://bugs.php.net/65644 Changed paths: M php.ini-development M php.ini-production Diff: diff --git a/php.ini-development b/php.ini-development index 99532d2..beebabb 100644 --- a/php.ini-development +++ b/php.ini-development @@ -199,13 +199,12 @@ engine = On ; This directive determines whether or not PHP will recognize code between -; <? and ?> tags as PHP source which should be processed as such. For several -; years we recommended that you not use the short tag shortcut and -; instead to use the full <?php and ?> tag combination. With the widespread use -; of XML and use of these tags by other languages, the server can become easily -; confused and end up parsing the wrong code in the wrong context. -; This shortcut is still supported for backwards compatibility, but we -; recommend against its use. +; <? and ?> tags as PHP source which should be processed as such. It is +; generally recommended that <?php and ?> should be used and that this feature +; should be disabled, as enabling it may result in issues when generating XML +; documents, however this remains supported for backward compatibility reasons. +; Note that this directive does not control the <?= shorthand tag, which can be +; used regardless of this directive. ; Default Value: On ; Development Value: Off ; Production Value: Off diff --git a/php.ini-production b/php.ini-production index 33d8bb6..5a95344 100644 --- a/php.ini-production +++ b/php.ini-production @@ -199,14 +199,12 @@ engine = On ; This directive determines whether or not PHP will recognize code between -; <? and ?> tags as PHP source which should be processed as such. For several -; years we recommended that you not use the short tag shortcut and -; instead to use the full <?php and ?> tag combination. With the widespread use -; of XML and use of these tags by other languages, the server can become easily -; confused and end up parsing the wrong code in the wrong context. -; This shortcut is still supported for backwards compatibility, but we -; recommend against its use. -; Default Value: On +; <? and ?> tags as PHP source which should be processed as such. It is +; generally recommended that <?php and ?> should be used and that this feature +; should be disabled, as enabling it may result in issues when generating XML +; documents, however this remains supported for backward compatibility reasons. +; Note that this directive does not control the <?= shorthand tag, which can be +; used regardless of this directive. ; Default Value: On ; Development Value: Off ; Production Value: Off

« previous php.cvs (#73529) next »