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
 [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: Sat Apr 20 04:01:28 2024 UTC