title: PHP Caching with APC
body: <p>Let's say I cache data in a PHP file in PHP array like this:</p>
  
  <p>/cache.php</p>
  
  <pre><code>&lt;?php return (object) array(
      'key' =&gt; 'value',
  );
  </code></pre>
  
  <p>And I include the cache file like this:</p>
  
  <pre><code>&lt;?php
  $cache = include 'cache.php';
  </code></pre>
  
  <p>Now, the question is will the cache file be automatically cached by APC in the memory? I mean as a typical opcode cache, as all .php files.</p>
  
  <p>If I store the data differently for example in JSON format (cache.json), the data will not be automatically cached by APC?</p>
  
  <p>Would <code>apc_store</code> be faster/preferable?</p>