Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53471 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13245 invoked from network); 21 Jun 2011 10:55:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jun 2011 10:55:36 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:58988] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/10-12449-5A8700E4 for ; Tue, 21 Jun 2011 06:55:34 -0400 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 7FD04DE140; Tue, 21 Jun 2011 11:55:30 +0100 (BST) Date: Tue, 21 Jun 2011 11:55:30 +0100 (BST) X-X-Sender: derick@whisky To: Stas Malyshev cc: Robert Eisele , "internals@lists.php.net" In-Reply-To: <4DFF7C28.30100@sugarcrm.com> Message-ID: References: <4DFF7C28.30100@sugarcrm.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Changed behaviour for strtr() From: derick@php.net (Derick Rethans) On Mon, 20 Jun 2011, Stas Malyshev wrote: > > Here is the next one. > > > > I think it's quite intuitive to use strtr() to remove single characters of a > > string, too, instead of using many str_replace($str, $chr, ""). I'd glad to > > see this change also in 5.4. > > This is a BC break, if I understand it correctly, so I don't think it is a > good idea. I agree that this is not a good thing then. cheers, Derick