title: PHP, virtual file from a string without writting on hard disk
body: <p>if i have a string ( containing pdf file ) is possible to make a "virtual" file to avoid writting on hard disk, to be later used on a function who requires a existing file?</p>
  
  <pre><code>// theorical code
  
  $file=stringToVirtualFile($string);
  
  require($file);
  </code></pre>