> Right now strtr('anything', 'anything', '') === 'anything', which
> means that anyone relying on this behavior is doing something strange
> and dumb imo, doing a function call for nothing.

How  is relying on by-design behavior that turns the call into a no-op
(instead  of  wrapping the call in an empty() check or whatever) dumb?
Is  there  some  performance  hit for entering strtr() that makes this
true?

-- S.


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

Reply via email to