Does PHP cache includes at run time?
<p>I am including the same files multiple times on the same page. I noticed when I do this, it seems PHP is caching the files. When I generate a random number with the rand function, it is the same in both includes. Anyone know how I can stop PHP from doing this? I tried some different header functions like this but they don't work:</p>

<pre><code>header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0
</code></pre>

<p>Edit: Ok, I'm dumb and I forgot that I was calling the includes from a jquery script which I believe is caching the files. I went back to see the code some one was asking for and noticed it. Thanks everyone.</p>
