title: PHP: Is it possible to create a SplFileObject object from file contents (string)?
body: <p>For example:</p>
  
  <pre><code>$contents = file_get_contents(image.png);
  </code></pre>
  
  <p>Is it possible to create a SplFileObject object from $contents?</p>
  
  <p>Thanks!</p>