#19355 [Opn->Asn]: optional parameter of iconv_get_encoding

From: Date: Wed, 11 Sep 2002 15:10:18 +0000
Subject: #19355 [Opn->Asn]: optional parameter of iconv_get_encoding
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19051@lists.php.net to get a copy of this message
ID: 19355 Updated by: kalowsky@php.net Reported By: holliwell@gmx.net -Status: Open +Status: Assigned Bug Type: ICONV related Operating System: win2k PHP Version: 4.2.3 -Assigned To: +Assigned To: andrei Previous Comments: ------------------------------------------------------------------------ [2002-09-11 05:43:58] holliwell@gmx.net Hi, don't know if it's just a documentation problem: The proto of iconv-get-encoding (in the manual)says that the parameter type is optional (also the proto the sources). This seems to be wrong. <pre> <?php iconv_set_encoding("internal_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "ISO-8859-1"); var_dump(iconv_get_encoding()); ?> </pre Throws a warning about Wrong parameter count... Also true on 4.1.2 on debian/linux Both configs with php as apache module. Regards Friedhelm Betz ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19355&edit=1

« previous php.bugs (#19051) next »