php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66099 Misleading documentation
Submitted: 2013-11-15 08:07 UTC Modified: 2013-11-15 08:09 UTC
From: yakoup46 at yahoo dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: Irrelevant 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: yakoup46 at yahoo dot com
New email:
PHP Version: OS:

 

 [2013-11-15 08:07 UTC] yakoup46 at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/function.htmlentities#refsect1-function.htmlentities-description
---

string htmlentities ( string $string [, int $flags = ENT_COMPAT | ENT_HTML401 [, string $encoding = 'UTF-8' [, bool $double_encode = true ]]] )

suggests that the default for $encoding is 'UTF-8' when in actuality it is 'ISO-8859-1'. I realize later this is documented.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-15 08:09 UTC] yakoup46 at yahoo dot com
-Status: Open +Status: Closed
 [2013-11-15 08:09 UTC] yakoup46 at yahoo dot com
I am at fault misread change log.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 13:01:36 2024 UTC