public function testIsAboveRoot3() { $path = '/foo/baz/bar/../../..'; $this->assertTrue(!isAboveRoot($path)); }