php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #67811 htmlspecialchars: document why/when apos instead of #39 is used
Submitted: 2014-08-09 11:21 UTC Modified: 2016-06-25 23:37 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: mfischer@php.net Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mfischer@php.net
New email:
PHP Version: OS:

 

 [2014-08-09 11:21 UTC] mfischer@php.net
Description:
------------
The documentation at http://php.net/manual/en/function.htmlspecialchars.php says:

"'" (single quote) becomes ''' (or ') only when ENT_QUOTES is set. 

It does not convey that ' will only be converted to apos if ENT_HTML5 is also provided (because, for background, there was no apos in HTML4 but there's now in 5).



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-25 23:35 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=339499
Log: Address #67811: htmlspecialchars: document why/when apos instead of #39 is used
 [2016-06-25 23:37 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2016-06-25 23:37 UTC] cmb@php.net
This request has been addressed in the documentation's XML
sources. Since the online and downloadable versions of the
documentation need some time to get updated, we would like to ask
you to be a bit patient.

Thank you for the report, and for helping us make our
documentation better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 01 01:01:28 2024 UTC