Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
| From: | Andrey Andreev | Date: | Wed, 07 Feb 2018 02:51:03 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Deprecation of fallback to root scope | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101796@lists.php.net to get a copy of this message | ||
Hi,
> Realistically, how often do you override strlen? If I say "never", I
> probably would be close enough for all practical purposes.
It's an ironic coincidence that you use strlen() as an example.
Because it and substr() are possibly the most likely to be overriden,
where we need code to be byte-safe in spite of mbstring.func_overload.
But why does that matter, either way?
Cheers,
Andrey.