Re: Changed behaviour for strtr()
| From: | Stas Malyshev | Date: | Mon, 20 Jun 2011 16:58:16 +0000 |
| Subject: | Re: Changed behaviour for strtr() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53432@lists.php.net to get a copy of this message | ||
Hi!
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. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227