Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39713 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65587 invoked from network); 6 Aug 2008 19:10:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2008 19:10:28 -0000 Authentication-Results: pb1.pair.com header.from=ulf.wendel@phpdoc.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ulf.wendel@phpdoc.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain phpdoc.de from 212.227.126.188 cause and error) X-PHP-List-Original-Sender: ulf.wendel@phpdoc.de X-Host-Fingerprint: 212.227.126.188 moutng.kundenserver.de Received: from [212.227.126.188] ([212.227.126.188:57904] helo=moutng.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/E6-29324-227F9984 for ; Wed, 06 Aug 2008 15:10:28 -0400 Received: from [192.168.2.22] (p5B06DCF4.dip.t-dialin.net [91.6.220.244]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1KQoOu0iA7-0000fY; Wed, 06 Aug 2008 21:10:24 +0200 Message-ID: <4899F71D.8010306@phpdoc.de> Date: Wed, 06 Aug 2008 21:10:21 +0200 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stanislav Malyshev CC: 'PHP Internals' References: <4899D1F2.2060101@zend.com> In-Reply-To: <4899D1F2.2060101@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19jphc75ejtl4MQ9T3GWPsKRzVs8aKcgT9cGxr bc50likNgdV/zwFp5J2ebMbSHAxHQfzE+5PPUBwfmIuK05JjDN Rrbv1lF6v/AdWN6tfXM5w== Subject: Re: [PHP-DEV] mysql_set_charset From: ulf.wendel@phpdoc.de (Ulf Wendel) Stanislav Malyshev schrieb: > I notice that mysql_set_charset function is not part of 5.3 tree and > it's test is marked as "usage not recommended". Could you explain what > is the reason for that? It's quite unusual to drop functions in later > versions, and if mysql_set_charset() has some problem we should note > that in the manual. Hi Stas, good find! I think it has happened accidently in 5_3 at Revision 1.213.2.6.2.16.2.2 when patching ext/mysql for mysqlnd some 10 months ago [1] . Its in 5_2 and its in HEAD. Andrey is working on re-introducing it to ext/mysql in the 5_3 branch. I don't recall why I added "usage not recommended" to the test. Let me check with Georg. He had some concerns on the function as far as I remember. Ulf [1] http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.213.2.6.2.16.2.1&r2=1.213.2.6.2.16.2.2