raise exception if normalized str_replace_every_nonrecursive_ci keys are identical
commit41f0708b0a8a9ecda9eb840235a8c49e8949d6b5
authorFred Emmott <fe@fb.com>
Thu, 26 Aug 2021 20:55:42 +0000 (26 13:55 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 26 Aug 2021 20:59:41 +0000 (26 13:59 -0700)
treebc8d4e7904b752752141dc58cde03b4bb07bd16a
parent9202ac1ffea858b640f9d9d174536a1ab068e0c2
raise exception if normalized str_replace_every_nonrecursive_ci keys are identical

Summary:
This should probably also be done for for the recursive form, but for now I'm trying to match the existing behavior.

Found while porting Str\

Reviewed By: oulgen

Differential Revision: D30434459

fbshipit-source-id: a067b7558146706c450e71adcbd8703bef77f009
hphp/runtime/ext/hsl/replace_every_nonrecursive.h
hphp/test/slow/ext_hsl/str_locale_replace_every.php
hphp/test/slow/ext_hsl/str_locale_replace_every.php.expect