xref: /PHP-8.4/ext/standard/tests/file/bug49047.phpt (revision 3f72c77c)
1--TEST--
2Test fopen() function : variation: interesting paths, no use include path
3--FILE--
4<?php
5// fopen with interesting windows paths.
6$testdir = __DIR__ . '/bug47177.tmpdir';
7mkdir($testdir);
8$t = time() - 3600;
9touch($testdir, $t);
10clearstatcache();
11$t2 = filemtime($testdir);
12if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
13rmdir($testdir);
14echo "Ok.";
15?>
16--EXPECT--
17Ok.
18