*** Testing fileattime(), filemtime(), filectime() & touch() : usage variations ***
*** testing touch ***
-
-Warning: touch(): Unable to create file because %s in %s on line %d
bool(false)
-
-Warning: touch(): Unable to create file because %s in %s on line %d
bool(false)
-
-Warning: touch(): Unable to create file because %s in %s on line %d
bool(false)
bool(true)
bool(true)
--FILE--
<?php
/* Prototype : int umask([int mask])
- * Description: Return or change the umask
+ * Description: Return or change the umask
* Source code: ext/standard/file.c
- * Alias to functions:
+ * Alias to functions:
*/
echo "*** Testing umask() : usage variation ***\n";
echo "\n--$key--\n";
umask(0);
var_dump(umask($value));
- var_dump( umask());
+ var_dump( umask() & 0777);
};
?>