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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 37 = ?
Subscribe to this entry?

 
 [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: Sat May 04 02:01:29 2024 UTC