Doc #74924 [Ver]: Deprecated note missing on manual page for iconv_set_encoding
| From: | till dot wierbach at gmail dot com | Date: | Sat, 15 Jul 2017 07:17:58 +0000 |
| Subject: | Doc #74924 [Ver]: Deprecated note missing on manual page for iconv_set_encoding | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14839@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74924&edit=1
ID: 74924
User updated by: till dot wierbach at gmail dot com
Reported by: till dot wierbach at gmail dot com
Summary: Deprecated note missing on manual page for
iconv_set_encoding
Status: Verified
Type: Documentation Problem
Package: ICONV related
Operating System: macOS
PHP Version: 5.6.31
Block user comment: N
Private report: N
New Comment:
The function itself needs to be deprecated, because the $type parameter can only be one the
deprecated iconv directives.
Previous Comments:
------------------------------------------------------------------------
[2017-07-14 10:05:42] requinix@php.net
The examples should remain because they demonstrate how to use the function - even if it is
deprecated.
------------------------------------------------------------------------
[2017-07-14 09:56:08] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74924&edit=1