php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #55443 4nd params double_encode
Submitted: 2011-08-17 19:42 UTC Modified: 2013-02-18 00:34 UTC
From: al at instrument dot pl dot ua Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.3.6 OS: any
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: al at instrument dot pl dot ua
New email:
PHP Version: OS:

 

 [2011-08-17 19:42 UTC] al at instrument dot pl dot ua
Description:
------------
Path in Bug #43101: htmlentities(): double_quote vs. double_encode typo
---
From manual page: http://www.php.net/function.htmlspecialchars%23%D0%9E%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5
---
four params double_encode=true|false present in real, and absent in documentation

Test script:
---------------
$links_str = "http://ya.ru?q=search&mmm"
$links_str = htmlspecialchars($links_str,ENT_COMPAT,'UTF-8',$double_encode=false);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-22 14:09 UTC] kalle@php.net
-Status: Open +Status: Feedback
 [2011-08-22 14:09 UTC] kalle@php.net
I have no idea what you mean by this report, the parameter is properly documented in already, or are you requesting an example of usage?
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 09:01:29 2024 UTC