Re: Changed behaviour for strtr()
| From: | Stas Malyshev | Date: | Mon, 20 Jun 2011 18:08:52 +0000 |
| Subject: | Re: Changed behaviour for strtr() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53441@lists.php.net to get a copy of this message | ||
Hi!
On 6/20/11 10:56 AM, Robert Eisele wrote:
Stas, Why should it be a BC break? Empty strings are not considered, in any mode or what feature of strtr() did I miss?Because now strtr("passion", "os", "") returns different result. Combined with the fact that you already can do it with array syntax, I don't really see a point. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227