stream_get_contents replacing plus with space
<p>So this is something that I have not been able to find any documentation on. I have a plain text string that I am trying to turn into a stream in php.</p>

<pre><code>$myStr = "A bit of text +test +test2";
$stream = fopen('data://text/plain,' . $myStr, 'r');
var_dump(stream_get_contents($stream);
</code></pre>

<p>The output of this code is </p>

<pre><code>A bit of text  test  test2
</code></pre>

<p>I tried using preg_replace to add an escape to the plus signs however this did not seem to have any effect. Any other ideas? Thanks</p>
