title: changing the file's last modified time through touch() and getting the result with filemtime()
body: <p>So I'm trying to get the file's last modified date and then update it to the current time, but when I look at the result I get the SAME timestamp in both $oldtime and $newtime</p>
  
  <pre><code>$file = 'test.txt';
  $oldtime = filemtime($file);
  touch($file, time());
  $newtime = filemtime($file);
  
  echo '&lt;h1&gt;old&lt;/h1&gt;';
  print_r(getdate($oldtime));
  echo '&lt;h1&gt;new&lt;/h1&gt;';
  print_r(getdate($newtime));
  </code></pre>