History log of /php-src/ext/standard/tests/strings/substr_replace_array_unset.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 4bbbe6d6 14-Jan-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix substr_replace with slots in repl_ht being UNDEF

The check that was supposed to check whether the array slot was UNDEF
was wrong and never triggered. This resulted in a replacement w

Fix substr_replace with slots in repl_ht being UNDEF

The check that was supposed to check whether the array slot was UNDEF
was wrong and never triggered. This resulted in a replacement with the
empty string or the wrong string instead of the correct one. The correct
check pattern can be observed higher up in the function's code.

Closes GH-10323

Signed-off-by: George Peter Banyard <girgias@php.net>

show more ...