Re: strtr() performance degradation
| From: | Matthew Leverton | Date: | Tue, 03 Dec 2013 16:32:24 +0000 |
| Subject: | Re: strtr() performance degradation | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70494@lists.php.net to get a copy of this message | ||
On Tue, Dec 3, 2013 at 3:50 AM, Zeev Suraski <zeev@zend.com> wrote:
> True, but you still agree that's the right thing to do. Breaking the
> common case for the rare case wasn't a good trade...
>
In addition, this generates a new E_NOTICE in 5.4.12, which IMO
constitutes an unacceptable incompatibility for a minor release:
echo strtr('.', ['a' => []]);
--
Matthew Leverton