php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #74924 Deprecated note missing on manual page for iconv_set_encoding
Submitted: 2017-07-14 09:56 UTC Modified: 2017-07-15 07:17 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: till dot wierbach at gmail dot com Assigned:
Status: Verified Package: ICONV related
PHP Version: 5.6.31 OS: macOS
Private report: No CVE-ID:
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: till dot wierbach at gmail dot com
New email:
PHP Version: OS:

 

 [2017-07-14 09:56 UTC] till dot wierbach at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.iconv-set-encoding
---

Using iconv_set_encoding with 'internal_encoding' throws a deprecated error in PHP 5.6:

"Deprecated functionality: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in..."

The deprecated note is missing on the manual page.

Expected result:
----------------
A deprecated note according to following page and fixed examples: http://php.net/manual/en/iconv.configuration.php#ini.iconv.input-encoding


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-14 10:05 UTC] requinix@php.net
-Summary: Deprecated note missing on manual page +Summary: Deprecated note missing on manual page for iconv_set_encoding -Status: Open +Status: Verified -Package: Documentation problem +Package: ICONV related
 [2017-07-14 10:05 UTC] requinix@php.net
The examples should remain because they demonstrate how to use the function - even if it is deprecated.
 [2017-07-15 07:17 UTC] till dot wierbach at gmail dot com
The function itself needs to be deprecated, because the $type parameter can only be one the deprecated iconv directives.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC