Hi!

> 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.

Also happens rather rarely, in my impression, since you'd have to a) run
mbstring.func_overload which you can't remove and b) still need
non-overloaded string functions. And if you are in this rare situation,
it's usually better to have explicitly-named function, so that you know
what you are dealing with, not relying on subtle details of how names
are resolved vs. namespaces.
-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to