Doc #53203 [NEW]: Incorrect default value for iconv_strelen() parameter
| From: | phoenix at todofixthis dot com | Date: | Fri, 29 Oct 2010 16:15:43 +0000 |
| Subject: | Doc #53203 [NEW]: Incorrect default value for iconv_strelen() parameter | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-5443@lists.php.net to get a copy of this message | ||
From:
Operating system: N/A
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Incorrect default value for iconv_strelen() parameter
Description:
------------
In the documentation for iconv_strlen(), the function signature is listed
as:
int iconv_strlen ( string $str [, string $charset =
ini_set("iconv.internal_encoding") ] )
Note that the default value for the $charset parameter is ini_set(...), but
this does not appear to be correct; ini_set() is used to set an INI value
and return the old value â not retrieve the current value.
Perhaps the author intended ini_get(...) instead?
Test script:
---------------
N/A
--
Edit bug report at http://bugs.php.net/bug.php?id=53203&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53203&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53203&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53203&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53203&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53203&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53203&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53203&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53203&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53203&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53203&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53203&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53203&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53203&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53203&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53203&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53203&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53203&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53203&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53203&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53203&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53203&r=mysqlcfg