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