title: simplexml_load_string - Exception => Entity: line 1: parser error : Start tag expected, '<' not found
body: <p>I'm trying to parse a <code>GuzzleHTTP\PSR7\Response</code> into a <code>SimpleXMLElement</code> Object using <code>simplexml_load_string()</code> function. What I'm facing here is I get <strong>Randomly</strong> Exception that says :</p>
  
  <blockquote>
    <p>Entity: line 1: parser error : Start tag expected, '&lt;' not found</p>
  </blockquote>
  
  <p>and by randomly I mean once I pass successfully, once fail.</p>
  
  <p>What is your suggestion for <code>simplexml_load_string()</code> input/ How to fix the Exception?</p>
  
  <p><strong>PHP :</strong></p>
  
  <pre><code>$xml = simplexml_load_string((string)$response-&gt;getBody());
  </code></pre>