public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: upstream comment changes for short_open_tag
@ 2026-11-27  7:26 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : fd3d16fd5816570ab9633e6afbec88aeca2416a3
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2013-09-11T10:33:18+02:00
Stats  : +6/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/fd3d16fd5816570ab9633e6afbec88aeca2416a3?branch=private-php86

Log:
upstream comment changes for short_open_tag

---
diff --git a/php.ini b/php.ini
index 7210341..f86f837 100644
--- a/php.ini
+++ b/php.ini
@@ -197,13 +197,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. It's been
-; recommended for several years that you not use the short tag "short cut" and
-; instead to use the full <?php and ?> tag combination. With the wide spread 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. But because
-; this short cut has been a feature for such a long time, it's currently still
-; supported for backwards compatibility, but we recommend you don't use them.
+; <? 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:26 [rpms/php] private-php86: upstream comment changes for short_open_tag Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox