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:2
Avg. Score:3.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.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: None
 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 06:01:26 2024 UTC