title: How to add symbol in each end of the line in php?
body: <p><strong>Example</strong></p>
  <pre><code>$string = &quot;Test Line 1 
  Test Line 2 
  Test Line 3&quot;; 
  echo str_replace(PHP_EOL,&quot;/&quot;.PHP_EOL, $string ); 
  </code></pre>
  <p>Actually I am expecting output is</p>
  <blockquote>
  <p>Test Line 1 \</p>
  <p>Test Line 2 \</p>
  <p>Test Line 3 \</p>
  </blockquote>
  <p>Please help me to solve this problem</p>