On Wed, Jun 22, 2011 at 2:22 AM, Stas Malyshev <smalys...@sugarcrm.com> wrote:
>> 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. We could maybe say
>
> It does not matter if you approve or disapprove how people write their code
> - we can't break BC unless there's a VERY good reason. You never know in
> which situation with which combination of inputs which application may end
> up using this sequence of parameters and how changing it may break it.

Of course it's not just a matter of taste, but the null case imo
really is not likely to happen by accident, and there is no valid use
case. Anyways.. Case closed I suppose.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

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

Reply via email to