summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_methods.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-07 13:04:06 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-30 10:53:45 +0100
commit93ba3abe63cd339c52cf5774e948bb35d8e73049 (patch)
tree4a7d1e418c79fb9cd8276a6816a07a4c5a7594e5 /ext/intl/breakiterator/breakiterator_methods.cpp
parentbecda2e0418d4efb55fca40b1170ca67cfbdb4e0 (diff)
downloadphp-git-93ba3abe63cd339c52cf5774e948bb35d8e73049.tar.gz
Warn on strtr(["" => "x"])
Previously: * If only ["" => "x"] was present, the original string was returned without warning. * If both ["" => "x"] and at least one more element was present, false was returned without warning. New behavior: * Ignore "" keys in the replacement array (and perform any remaining replacement). * Throw a warning indicating that an empty string replacement has been ignored. Closes GH-4792.
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_methods.cpp')
0 files changed, 0 insertions, 0 deletions