1--TEST--
2Test chmod() function : error conditions
3--FILE--
4<?php
5echo "*** Testing chmod() : error conditions ***\n";
6
7// testing chmod with a non-existing file
8$filename = "___nonExisitingFile___";
9var_dump(chmod($filename, 0777));
10
11?>
12--EXPECTF--
13*** Testing chmod() : error conditions ***
14
15Warning: chmod(): No such file or directory in %s on line %d
16bool(false)
17