mirror of
https://github.com/php/php-src.git
synced 2024-10-16 22:12:33 +00:00
18 lines
404 B
PHP
18 lines
404 B
PHP
--TEST--
|
|
Test fopen() function : variation: interesting paths, no use include path
|
|
--FILE--
|
|
<?php
|
|
// fopen with interesting windows paths.
|
|
$testdir = __DIR__ . '/bug47177.tmpdir';
|
|
mkdir($testdir);
|
|
$t = time() - 3600;
|
|
touch($testdir, $t);
|
|
clearstatcache();
|
|
$t2 = filemtime($testdir);
|
|
if ($t2 != $t) echo "failed (got $t2, expecting $t)\n";
|
|
rmdir($testdir);
|
|
echo "Ok.";
|
|
?>
|
|
--EXPECTF--
|
|
Ok.
|