Hi, I just created the RFC :
https://wiki.php.net/rfc/cyclic-replace I tried to include everything we agreed upon. Tell me if I missed something. Please note that the current PR does not implement the whole RFC. You may review the RFC while I update the code. Please also give me your opinion about implementing a similar feature in preg_replace() and preg_filter(). Regards, François -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php