--TEST-- chmod() with various paths --SKIPIF-- --FILE-- --EXPECTF-- chmod() on a path containing .. and . bool(true) bool(true) 666 chmod() on a path containing .. with invalid directories bool(true) bool(true) 666 chmod() on a relative path from a different working directory bool(true) bool(true) 666 chmod() on a directory with a trailing / bool(true) bool(true) 666