Req #55443 [Opn->Fbk]: 4nd params double_encode
| From: | kalle@php.net | Date: | Mon, 22 Aug 2011 14:09:47 +0000 |
| Subject: | Req #55443 [Opn->Fbk]: 4nd params double_encode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162787@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55443&edit=1
ID: 55443
Updated by: kalle@php.net
Reported by: al at instrument dot pl dot ua
Summary: 4nd params double_encode
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: *General Issues
Operating System: any
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
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?
Previous Comments:
------------------------------------------------------------------------
[2011-08-17 19:42:04] 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);
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55443&edit=1