mirror of
https://github.com/php/php-src.git
synced 2024-10-15 05:22:48 +00:00
2f12941fac
- Killed the "file not found" error for is_link(). (finally..)
28 lines
333 B
PHP
28 lines
333 B
PHP
<?php
|
|
|
|
$funcs = array(
|
|
'is_writable',
|
|
'is_readable',
|
|
'is_executable',
|
|
'is_file',
|
|
'file_exists',
|
|
);
|
|
|
|
$filename="";
|
|
|
|
foreach ($funcs as $test) {
|
|
$bb = $test($filename);
|
|
var_dump($bb);
|
|
clearstatcache();
|
|
}
|
|
|
|
$filename="run-tests.php";
|
|
|
|
foreach ($funcs as $test) {
|
|
$bb = $test($filename);
|
|
var_dump($bb);
|
|
clearstatcache();
|
|
}
|
|
|
|
?>
|