Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61139 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71260 invoked from network); 11 Jul 2012 20:36:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2012 20:36:52 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:53096] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/6F-01957-2E3EDFF4 for ; Wed, 11 Jul 2012 16:36:51 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id A5B9070003D4; Wed, 11 Jul 2012 21:36:47 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id 7zlWYDsatF9v; Wed, 11 Jul 2012 21:36:47 +0100 (WEST) Received: from mail2.ist.utl.pt (mail.ist.utl.pt [IPv6:2001:690:2100:1::8]) by smtp1.ist.utl.pt (Postfix) with ESMTP id E611F7000445; Wed, 11 Jul 2012 21:36:46 +0100 (WEST) Received: from damnation (unknown [IPv6:2001:470:94a2:4:bd8e:7516:c06:6a6d]) (Authenticated sender: ist155741) by mail2.ist.utl.pt (Postfix) with ESMTPSA id 21CE82003FD1; Wed, 11 Jul 2012 21:36:44 +0100 (WEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Pierre Joye" , "Stas Malyshev" Cc: =?utf-8?Q?Johannes_Schl=C3=BCter?= , "PHP Internals" References: <4FFD11C1.3090007@sugarcrm.com> <1342029955.13569.17.camel@guybrush> <4FFDC10F.6050106@sugarcrm.com> <4FFDDBAD.7070100@sugarcrm.com> <4FFDDF66.2070806@sugarcrm.com> Date: Wed, 11 Jul 2012 22:36:40 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Organization: =?utf-8?Q?N=C3=BAcleo_de_Eng=2E_Biom=C3=A9di?= =?utf-8?Q?ca_do_I=2ES=2ET=2E?= Message-ID: In-Reply-To: <4FFDDF66.2070806@sugarcrm.com> User-Agent: Opera Mail/12.50 (Linux) Subject: Re: [PHP-DEV] Re: bug 18556 - tolower & locales From: glopes@nebm.ist.utl.pt ("Gustavo Lopes") Em Wed, 11 Jul 2012 22:17:42 +0200, Stas Malyshev escreveu: > And we regularly fix bugs in such functions in stable versions. > >> If it is not good enough for 5.3, it is not good enough for 5.4. > > Sorry, I can't accept this argument. There were numerous things that are > in 5.4 but not in 5.3. I also think this is not appropriate for 5.4, but for different reasons. You're changing the Zend API. You introduce new public functions. This means an extension that uses the new symbols will be compatible with PHP 5.4.6, but not before. When this happens, it's very annoying (like the PHP_FE_END in 5.3, though that only affected source compatibility -- this also affects binary compatibility). You also change the behavior of zend_binary_strncasecmp(). Just like you had to change ext/standard/string.c, other extensions may also have to (not to mention the risk you missed something). -- Gustavo Lopes