php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65644 clumsy language in short_open_tag description
Submitted: 2013-09-09 18:45 UTC Modified: 2013-09-09 23:59 UTC
From: richlv at nakts dot net Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: master-Git-2013-09-09 (snap) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: richlv at nakts dot net
New email:
PHP Version: OS:

 

 [2013-09-09 18:45 UTC] richlv at nakts dot net
Description:
------------
in these two files :

php.ini-production
php.ini-development

description for short_open_tag currently looks like this :

; 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.

a couple of suggested changes :

* "you not use" -> "you do not use"
* "instead to use" -> "instead use"

it could probably be rewritten completely, but at least these two changes should be considered


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-09-09 23:59 UTC] aharvey@php.net
-Status: Open +Status: Closed -Package: PHP options/info functions +Package: Documentation problem -Assigned To: +Assigned To: aharvey
 [2013-09-09 23:59 UTC] aharvey@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

I've had a play with this. It's still not perfect, but I think it's better now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 21:01:30 2024 UTC