--TEST-- Bug #39621 (str_replace() is not binary safe on strings with equal length) --FILE-- --EXPECT-- string(13) "qxxxxxxxxxxx" string(13) "qxxxxxxxxxxx" string(8) "any text" string(8) "any text" Done