summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/is_writable_error.phpt
blob: 3020124d4e314e4715b8e079a29e40baa1c494ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Test is_writable() and its alias is_writeable() function: error conditions
--FILE--
<?php
echo "\n*** Testing is_writable() on non-existent file ***\n";
var_dump( is_writable(__DIR__."/is_writable") );
var_dump( is_writeable(__DIR__."/is_writable") );

echo "Done\n";
?>
--EXPECT--
*** Testing is_writable() on non-existent file ***
bool(false)
bool(false)
Done