Nope, this is correct. In the Markdown of revision 4, there are indeed three backslashes at that spot, but the rendered version only has two. Look at the Markdown diff (third button from the top on the left side of the diff) of revision 5, and you'll see that the purpose of that revision was to enclose code in either backticks or code blocks.
Revision 4 had lots of code as plain text in it, and especially when it comes to backslashes, this makes a huge difference. Compare:
The snippet from the example, as text:
echo str_replace("\\'", "ba", "banana\'s");
The snippet from the example, as code:
echo str_replace("\\\'", "ba", "banana\'s");
Both of those have three backslashes in the first parameter; if you look at the source of this answer, you'll see that the only difference is indentation.
In non-code, a backslash can be used to escape characters that have special meaning in Markdown (example: \*stars, not italics\*
-> *stars, not italics*). Thus the first two backslashes appear as only one in the rendered version, because the first escapes the second. The third appears on it's own, because it's followed by an apostrophe, which is not a special character in Markdown, and hence this backslash does not act as an escape.
In code, however, everything is literal: There are no escapes, and each backslash in the source creates a backslash in the final version.
Bottom line: In Revision 4, only two backslashes were visible in that particular spot in the rendered version, so the diff is absolutely correct.