RE: [PHP-DEV] [RFC] Add cyclic string replacements

2015-01-10 Thread François Laupretre
> De : Dan Ackroyd [mailto:dan...@basereality.com] > > The RFC is missing one thing if nothing else; a reason for why this > functionality would be so much better implemented in the core than in > userland code. I thought it was trivial : first, performance and then, ease of use, but I can elabo

Re: [PHP-DEV] [RFC] Add cyclic string replacements

2015-01-10 Thread Dan Ackroyd
Hi François, The RFC is missing one thing if nothing else; a reason for why this functionality would be so much better implemented in the core than in userland code. cheers Dan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [RFC] Add cyclic string replacements

2015-01-10 Thread F & N Laupretre
Hi, The RFC about the 'cyclic replacements' addition to str_[i]replace() : https://wiki.php.net/rfc/cyclic-replace The pull request, including a complete implementation of the RFC and the corresponding tests : https://github.com/php/php-src/pull/980 Please prefer PR comments. Regards, Franço